Add icon and splash screen

This commit is contained in:
Yemel Jardi 2014-07-17 16:35:41 -03:00
parent eff85ad480
commit 5acd6dfbb6
4 changed files with 12 additions and 6 deletions

View File

@ -48,13 +48,13 @@ checkOK
echo "${OpenColor}${Green}* Copying all app files...${CloseColor}"
sed "s/APP_VERSION/$VERSION/g" manifest.json > $APPDIR/manifest.json
cd $BUILDDIR/..
cp -af {css,font,img,js,lib,sound,config.js,version.js,index.html,./android/icon.png} $APPDIR
cp -af {css,font,img,js,lib,sound,config.js,version.js,index.html,./android/icon.png,./android/logo.png} $APPDIR
checkOK
# Building the APK
echo "${OpenColor}${Green}* Building APK file...${CloseColor}"
cd $CROSSWALK
python make_apk.py --manifest=$APPDIR/manifest.json --target-dir=$BUILDDIR --arch=arm $DEBUG
python make_apk.py --manifest=$APPDIR/manifest.json --target-dir=$BUILDDIR $DEBUG
checkOK
cd $BUILDDIR

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
android/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -1,10 +1,16 @@
{
"name": "Copay",
"version": "APP_VERSION",
"app": {
"launch":{
"local_path": "index.html"
}
"start_url": "index.html",
"permissions": [
"Vibration"
],
"xwalk_launch_screen": {
"ready_when": "complete",
"default": {
"background_color": "#2C3E50",
"image": "logo.png"
}
},
"icons": {
"128": "icon.png"