cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [4/5] git commit: add default manifest properties for firefox os platform
Date Fri, 23 Aug 2013 22:06:02 GMT
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 <longster@gmail.com>
Authored: Wed Aug 21 15:19:41 2013 -0400
Committer: James Long <longster@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;


Mime
View raw message