summaryrefslogtreecommitdiff
path: root/mobile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mobile.sh')
-rwxr-xr-xmobile.sh8
1 files changed, 8 insertions, 0 deletions
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