mirror of https://github.com/BTCPrivate/copay.git
Creating a chrome app
This commit is contained in:
parent
5490440631
commit
bbd00cf2d6
|
@ -0,0 +1,8 @@
|
|||
chrome.app.runtime.onLaunched.addListener(function() {
|
||||
chrome.app.window.create('index.html', {
|
||||
'bounds': {
|
||||
'width': 1200,
|
||||
'height': 800
|
||||
}
|
||||
});
|
||||
});
|
|
@ -3,17 +3,14 @@
|
|||
"name": "Copay",
|
||||
"description": "A multisignature bitcoin wallet",
|
||||
"version": "APP_VERSION",
|
||||
"homepage_url": "http://bitpay.github.io/copay",
|
||||
"browser_action": {
|
||||
"default_title": "Copay",
|
||||
"default_icon": "img/icons/icon.png",
|
||||
"default_popup": "popup.html"
|
||||
},
|
||||
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
||||
"permissions": [
|
||||
"tabs", "storage", "notifications"
|
||||
"storage", "notifications"
|
||||
],
|
||||
"options_page": "index.html#/settings",
|
||||
"app": {
|
||||
"background": {
|
||||
"scripts": ["initial.js"]
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"128": "img/icons/icon.png"
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ sound
|
|||
views
|
||||
config.js
|
||||
init.js
|
||||
initial.js
|
||||
version.js
|
||||
index.html
|
||||
popup.html
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
chrome.app.runtime.onLaunched.addListener(function() {
|
||||
chrome.app.window.create('index.html', {
|
||||
'bounds': {
|
||||
'width': 1280,
|
||||
'height': 800
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue