Re: Sample XUL standalone application (windows exe)
reverendlinux <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpfe |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
On Feb 15, 6:35 am, Philipp Wagner <[email protected]> wrote: > 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 Philipp, Just wanted to say thanks for that tip. Although I haven't written any XUL apps for Windows, this is a handy bit of info. I'll be tucking it away for the future. Cheers!