fix chrome app
This commit is contained in:
parent
1de6b7abbf
commit
fcc2ab94e7
10 changed files with 54 additions and 43 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# Configs
|
||||
BUILDDIR=build
|
||||
ZIPFILE=copay-chrome-extension.zip
|
||||
VERSION=`cut -d '"' -f2 ../src/js/version.js|head -n 1`
|
||||
|
||||
INCLUDE=$(shell cat ./include)
|
||||
INITIAL=./initial.js
|
||||
|
|
@ -13,7 +12,7 @@ all: $(ZIPFILE)
|
|||
dir:
|
||||
rm -rf $(BUILDDIR)
|
||||
mkdir -p $(BUILDDIR)
|
||||
sed "s/APP_VERSION/$(VERSION)/g" manifest.json > $(BUILDDIR)/manifest.json
|
||||
cp manifest.json $(BUILDDIR)/manifest.json
|
||||
cp -vf $(INITIAL) $(BUILDDIR)
|
||||
|
||||
files:
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
Development
|
||||
|
||||
* Just run:
|
||||
|
||||
```
|
||||
$ sh chrome/build.sh
|
||||
```
|
||||
|
||||
* The ZIP file is *chrome/copay-chrome-extension.zip*
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
./index.html
|
||||
./cordova.js
|
||||
./css/*.css
|
||||
./font/*
|
||||
./fonts/*
|
||||
./icons/*
|
||||
./img/*
|
||||
./img/**/*
|
||||
./js/*.js
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
{
|
||||
{
|
||||
"//":"PLEASE! Do not edit this file directly",
|
||||
"//":" Modify it at app-template/",
|
||||
|
||||
"manifest_version": 2,
|
||||
"name": "Copay",
|
||||
"description": "A secure Bitcoin wallet for friends and companies",
|
||||
"version": "APP_VERSION",
|
||||
"name": "BitPay",
|
||||
"description": "The BitPay Bitcoin Wallet",
|
||||
"version": "0.2.0",
|
||||
"permissions": [
|
||||
"storage",
|
||||
"unlimitedStorage",
|
||||
|
|
@ -16,6 +19,6 @@
|
|||
}
|
||||
},
|
||||
"icons": {
|
||||
"128": "img/icons/icon-chrome-128.png"
|
||||
"128": "img/icon-chrome-128.png"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue