Add icon and splash screen

This commit is contained in:
Yemel Jardi 2014-07-17 16:35:41 -03:00
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}" echo "${OpenColor}${Green}* Copying all app files...${CloseColor}"
sed "s/APP_VERSION/$VERSION/g" manifest.json > $APPDIR/manifest.json sed "s/APP_VERSION/$VERSION/g" manifest.json > $APPDIR/manifest.json
cd $BUILDDIR/.. 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 checkOK
# Building the APK # Building the APK
echo "${OpenColor}${Green}* Building APK file...${CloseColor}" echo "${OpenColor}${Green}* Building APK file...${CloseColor}"
cd $CROSSWALK 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 checkOK
cd $BUILDDIR cd $BUILDDIR

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 8 KiB

Before After
Before After

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", "name": "Copay",
"version": "APP_VERSION", "version": "APP_VERSION",
"app": { "start_url": "index.html",
"launch":{ "permissions": [
"local_path": "index.html" "Vibration"
} ],
"xwalk_launch_screen": {
"ready_when": "complete",
"default": {
"background_color": "#2C3E50",
"image": "logo.png"
}
}, },
"icons": { "icons": {
"128": "icon.png" "128": "icon.png"