Changes

Jump to: navigation, search

How to do an application using XULRunner

1,628 bytes added, 19:04, 22 October 2006
Setting up the application.ini file
== Setting up the application.ini file ==
XULRunner first looks at the application.ini filelocated at the root directory. This file contains metadata which tells XULRunner how to run the application properly. This fype typically contains [Heading] and Key=Values. Also, Lines which begin with characters "#" or ";" are treated as comments. The application.ini file contains configurations two sections. They are the following with surrounding square brackets: '''[App]''' Section - This section of the file contains data about the application<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=2 cellspacing=0><tr><td width="10%"> '''Key'''</td><td> '''Value'''</td></tr><tr><td>Name</td><td>Name of the application.</td></tr><tr><td>Version</td><td>Version of how the application uses XULRunner.</td></tr><tr><td>BuildID</td><td>This is the build ID which is unique. Typically this field is a date</td></tr><tr><td>ID</td><td>Unique ID of the application.</td></tr><tr><td>Vendor</td><td>This is the vendor of the application which tells is an optional field.</td></tr></table>  '''[Gecko]''' Section - This section contains information about what version XULRunner is needed for the application how it uses .<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=2 cellspacing=0><tr><td width="10%">'''Key'''</td><td>'''Value'''</td></tr><tr><td>MinVersion</td><td>The minimum XULRunner version this application supports.</td></tr><tr><td>MaxVersion</td><td>The maximum XULRunnerversion this application can run on.</td></tr></table>  The following is a sample '''application.ini''' file. <pre> [App] Vendor=Mylau Name=Hello World Application Version=1.0 BuildID=20060101 Copyright=Copyright (c) 2006 ID=xulTestApp@mylau.org [Gecko] MinVersion=1.8 MaxVersion=1.8</pre>
== Setting up the chrome.manifestj file ==
1
edit

Navigation menu