diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-09-08 11:44:59 +0200 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-09-08 11:44:59 +0200 |
| commit | 8433b79d9363dea79e139cbdc3a9811495694753 (patch) | |
| tree | a8dd60a9b6f170ddc69f91ba4368280ee6dcbae4 | |
| parent | 8c4dbc73a29ad4f2b22ee9bc1129b19d9742a5f7 (diff) | |
| download | snap-8433b79d9363dea79e139cbdc3a9811495694753.tar.gz snap-8433b79d9363dea79e139cbdc3a9811495694753.zip | |
use the Snap-icon instead of the default one
| -rwxr-xr-x | binary.sh | 2 | ||||
| -rwxr-xr-x | mobile.sh | 8 |
2 files changed, 10 insertions, 0 deletions
@@ -67,6 +67,8 @@ then sed -i "/ide\.openIn/a\ ide.droppedText(code); " snap.html +else + rm binary.js fi # compress all js files @@ -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 |
