Gaia/Build/Specification: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:
=== pref ===
=== pref ===
==== user.js ====
==== user.js ====
* [https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/A_brief_guide_to_Mozilla_preferences A_brief_guide_to_Mozilla_preferences]
* [https://dxr.mozilla.org/mozilla-central/source/webapprt/prefs.js example of prefs.js]
=== settings.json ===
=== settings.json ===
* settings.json is a json format file which store most of settings for [https://developer.mozilla.org/en-US/docs/Web/API/Settings_API Settings_API]
* [https://github.com/mozilla-b2g/gaia/blob/master/customization/settings.json settings.json]
== extensions ==
== extensions ==
== webapps ==
== webapps ==
=== app.gaiamobile.org ===
=== app.gaiamobile.org ===
* app's dirname + '.' + GAIA_DOMAIN / origin from app's own manifest
==== application.zip ====
==== application.zip ====
* js
* html
* css
* resources
* local.json
* manifest.webapp (same as below)
==== manifest.webapp ====
==== manifest.webapp ====
* [https://developer.mozilla.org/en-US/Apps/Build/Manifest Firefox OS App Manifest]
* [http://www.w3.org/TR/appmanifest/ w3c spec for appmanifest]
=== webapps.json ===
=== webapps.json ===
* A json file to profile all app's information for gecko.
* [https://dxr.mozilla.org/mozilla-central/source/dom/apps/Webapps.jsm?from=webapps.jsm&case=true#1 Gecko's webapps.jsm]
== settings.json ==
== settings.json ==
* same as above (settings.json)
== user.js ==
== user.js ==
* same as above (user.js)


= How it works =
= How it works =
Confirmed users
139

edits

Navigation menu