

ist and PkgInfo must exist in the Contents directory.The first sub-directory is called Contents and within that directory you will place several files and folders that are needed by your application bundle.app which designates the whole package as an application bundle. The top-level directory is given a name that ends with.In addition to the standard directory hierarchy that's required of all Mac OS X applications, as shown above in Application bundle layout, there are some specific rules for what content goes where: app-prefs.js (This provides some default values for preferences).example.xul (This directory contains your application's chrome).example.icns (This is the icon which will be used by your application bundle).application.ini (XULRunner-related application settings).Resources/ (This is where you place your XUL Application code and support files).MacOS/ (The MacOS folder will contain your XULRunner executable).PkgInfo (This is a simple text file and is created along with the ist file).ist (Application bundle properties are specified in this XML file.).A XUL application for Mac OS X should follow something similar to this basic directory structure: Application bundle layoutĪpplication bundles are essentially just directory structures that conform to a standard layout and naming convention.
Mac osx bundle files how to#
This tutorial will show you how to package your XULRunner-based application in a way which is consistent with the expectations of Mac OS X users. Mac OS X applications are typically packaged as application bundles which are then distributed in.
