HOWTO: Save a Lily patch as a Xulrunner application

From LilyWiki

Jump to: navigation, search

The only requirement for saving a patch as a XULRunner application is that you have XULRunner installed. XULRunner for Mozilla releases can be downloaded here. There are also nightly builds available here. Installation on Linux/Windows is just a matter of unzipping to whatever location you wish. On the Mac, there's an installer that installs to /Library/Frameworks. Mozilla has installation docs with additional details here.

Image:saveas.png

Note: if you have any images or subpatches in your patch, they must be loaded using paths relative to the saved location of the patch. See ticket #32

Once XULRunner is installed, we're ready to save our patch as an app. Open the patch you want to save and select "Save as App" from the File menu. A project metadata dialog will appear. Fill out all fields. In particular, you'll need to ensure that the XULRunner field is pointing to the top level directory of your XULRunner install (On Mac this should already point to /Library/Frameworks/XUL.Framework. There's no need to touch this unless you've installed to a non-standard location.) When you're done filling out the dialog, click Save. A file save dialog will appear. There should be a suggested filename already supplied. Choose a location to save in and click save. When the build is complete, your application should appear in the location where you saved it.

On the Mac, you see a single file with the Lily icon. Double click it to launch the application. On Windows and Unix, you'll see a folder with your application name, double clicking the executable inside should launch your app.

Personal tools