fix chrome app
This commit is contained in:
parent
1de6b7abbf
commit
fcc2ab94e7
10 changed files with 54 additions and 43 deletions
|
|
@ -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");
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
BIN
app-template/copay/img/icon-chrome-128.png
Normal file
BIN
app-template/copay/img/icon-chrome-128.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
21
app-template/manifest.json
Normal file
21
app-template/manifest.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue