diff options
author | John Mayhew | 2012-02-08 14:38:25 -0800 |
---|---|---|
committer | John Mayhew | 2012-02-08 14:38:25 -0800 |
commit | c7b5edf0351d678d26b17eb5e2f995a140e209bb (patch) | |
tree | 9da5d1152f2800f1f0a25fd4b91a3dea284d8357 /manifest.json | |
parent | 763910b9d074137eb7dee80447b89407ce5750c9 (diff) | |
download | ninja-c7b5edf0351d678d26b17eb5e2f995a140e209bb.tar.gz |
Added manifest.json, and image file required for being a packaged chrome application. Removed the old versions.json and updated the main page to detect if it is running as a chrome app and retrieve the version info from the chrome.app object. If the app is running hosted, the code will use an XHR to load the manifest.json and retrieve the version number from it directly.
Diffstat (limited to 'manifest.json')
-rw-r--r-- | manifest.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/manifest.json b/manifest.json new file mode 100644 index 00000000..12047172 --- /dev/null +++ b/manifest.json | |||
@@ -0,0 +1,25 @@ | |||
1 | { | ||
2 | "name": "Motorola Ninja", | ||
3 | "description": "Motorola Ninja HTML5 Authoring Tool Pre-Alpha", | ||
4 | "version": "0.5.0.0", | ||
5 | "app": { | ||
6 | "launch": { | ||
7 | "local_path": "index.html" | ||
8 | } | ||
9 | }, | ||
10 | "icons": { | ||
11 | "128": "ninja_icon_128.png" | ||
12 | }, | ||
13 | "permissions": [ | ||
14 | "unlimitedStorage", | ||
15 | "notifications" | ||
16 | ], | ||
17 | "requirements": { | ||
18 | "3D": { | ||
19 | "features": ["css3d", "webgl"] | ||
20 | } | ||
21 | }, | ||
22 | "minimum_chrome_version": "16.0.0.0", | ||
23 | "offline_enabled": true, | ||
24 | "update_url": "http://tetsubo.org/go/ninjaupdate" | ||
25 | } \ No newline at end of file | ||