You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/08/24 00:06:02 UTC

[4/5] git commit: add default manifest properties for firefox os platform

add default manifest properties for firefox os platform


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/18a84520
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/18a84520
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/18a84520

Branch: refs/heads/ffos
Commit: 18a8452048033c0a407378169e620394be16bc0e
Parents: 786f8f0
Author: James Long <lo...@gmail.com>
Authored: Wed Aug 21 15:19:41 2013 -0400
Committer: James Long <lo...@gmail.com>
Committed: Wed Aug 21 15:19:41 2013 -0400

----------------------------------------------------------------------
 src/metadata/firefoxos_parser.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/18a84520/src/metadata/firefoxos_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/firefoxos_parser.js b/src/metadata/firefoxos_parser.js
index 6fa8105..e527fb3 100644
--- a/src/metadata/firefoxos_parser.js
+++ b/src/metadata/firefoxos_parser.js
@@ -37,7 +37,10 @@ module.exports.prototype = {
             manifest = JSON.parse(fs.readFileSync(manifestPath));
         }
         else {
-            manifest = {};
+            manifest = {
+                launch_path: "/index.html",
+                installs_allowed_from: ["*"]
+            };
         }
 
         manifest.version = version;