From 8433b79d9363dea79e139cbdc3a9811495694753 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Mon, 8 Sep 2014 11:44:59 +0200 Subject: use the Snap-icon instead of the default one --- binary.sh | 2 ++ mobile.sh | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/binary.sh b/binary.sh index 489e6ed..6f267d0 100755 --- a/binary.sh +++ b/binary.sh @@ -67,6 +67,8 @@ then sed -i "/ide\.openIn/a\ ide.droppedText(code); " snap.html +else + rm binary.js fi # compress all js files diff --git a/mobile.sh b/mobile.sh index 15b1c9c..81fa6f3 100755 --- a/mobile.sh +++ b/mobile.sh @@ -47,6 +47,14 @@ cordova plugin add org.apache.cordova.vibration cordova plugin add org.apache.cordova.device-motion cordova plugin add org.apache.cordova.device-orientation cordova plugin add org.apache.cordova.geolocation + +if [[ $1 == "android" ]] +then + # Remove default icons + cd "$builddir/platforms/android" + find -name '*.png' | xargs rm +fi + cordova build "$1" cd $builddir -- cgit v1.3.1