fix chrome app

This commit is contained in:
Matias Alejo Garcia 2016-08-19 17:47:37 -03:00
commit fcc2ab94e7
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
10 changed files with 54 additions and 43 deletions

View file

@ -10,8 +10,9 @@ var templates = {
'ProjectMakefile': 'cordova/',
'config.xml': 'cordova/',
'Package.appxmanifest': 'cordova/wp/',
'.desktop': 'webkitbuilds/.desktop',
'setup-win.iss': 'webkitbuilds/setup-win.iss',
'.desktop': 'webkitbuilds/',
'setup-win.iss': 'webkitbuilds/',
'manifest.json': 'chrome-app/',
// 'bower.json': '/',
};
var configDir = process.argv[2] || 'copay';
@ -108,13 +109,12 @@ copyDir(configDir + '/img/', '../public/img/', function() {
copyDir(configDir + '/iosIcons/', '../cordova/ios/icons/', function() {
copyDir(configDir + '/iosSplash/', '../cordova/ios/splash/', function() {
copyDir(configDir + '/wpAssets/', '../cordova/wp/Assets/', function() {
copyDir(configDir + '/wpImg/', '../cordova/wp/', function() {
// TODO WP
console.log("apply.js finished. \n\n");
copyDir(configDir + '/wpImg/', '../cordova/wp/', function() {
// TODO WP
console.log("apply.js finished. \n\n");
});
});
});
});
});
});
});
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

@ -0,0 +1,21 @@
{
"manifest_version": 2,
"name": "*NAMECASENOSPACE*",
"description": "*DESCRIPTION*",
"version": "*VERSION*",
"permissions": [
"storage",
"unlimitedStorage",
"notifications",
"videoCapture",
"webview"
],
"app": {
"background": {
"scripts": ["initial.js"]
}
},
"icons": {
"128": "img/icon-chrome-128.png"
}
}