Re: Sample XUL standalone application (windows exe)

Philipp Wagner <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Hi,

Am 10.02.2012 07:51, Shibu Narayanan wrote:
> Where can I get a sample XUL standalone application, one that compiles
> to a windows exe?

You should have a directory structure like this
application.ini
chrome.manifest
...some more files...
xulrunnner
xulrunner/xulrunner-stub.exe
...

Just copy the xulrunner/xulrunner-stub.exe to the directory where the 
application.ini lives, rename it however you like (e.g. 
yourapplication.exe) and that's it. You can now start your application 
with that exe.

> Most of the opensource projects I have seen on the internet packages it
> to XPI (plugin).
> If it also contains a build (make) script, then it will be great.

There is no need to build your own exe, just copy all files in the right 
directories. Of course depending on your application build/release 
process you can write a Makefile to do that for you.

Philipp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.