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

@ -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:

View file

@ -1,9 +0,0 @@
Development
* Just run:
```
$ sh chrome/build.sh
```
* The ZIP file is *chrome/copay-chrome-extension.zip*

View file

@ -1,8 +1,7 @@
./index.html
./cordova.js
./css/*.css
./font/*
./fonts/*
./icons/*
./img/*
./img/**/*
./js/*.js

View file

@ -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"
}
}