diff options
author | vng <viktor.govako@gmail.com> | 2013-07-08 18:39:44 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:58:29 +0300 |
commit | 50a723643a4ed779eb3505aae91cbb92d73e1153 (patch) | |
tree | bf91550f90980b31f5906bdb69ca554eaa8e328e | |
parent | 75d58d02582b8058fce2d9b411a33467a9a3967f (diff) |
[android] Script for adding fonts.obb, world.obb to a device.
-rwxr-xr-x | tools/android/obb_make.sh | 3 | ||||
-rwxr-xr-x | tools/android/obb_make_and_push.sh | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tools/android/obb_make.sh b/tools/android/obb_make.sh new file mode 100755 index 0000000000..cc4bba1ada --- /dev/null +++ b/tools/android/obb_make.sh @@ -0,0 +1,3 @@ +cd ../../data +zip -0 ../tools/android/fonts.obb 01_dejavusans.ttf 02_wqy-microhei.ttf 03_jomolhari-id-a3d.ttf 04_padauk.ttf 05_khmeros.ttf 06_code2000.ttf +zip -0 ../tools/android/world.obb World.mwm WorldCoasts.mwm diff --git a/tools/android/obb_make_and_push.sh b/tools/android/obb_make_and_push.sh new file mode 100755 index 0000000000..7dcf790d07 --- /dev/null +++ b/tools/android/obb_make_and_push.sh @@ -0,0 +1,8 @@ +./obb_make.sh + +adb shell "mkdir /mnt/sdcard/Android/obb/com.mapswithme.maps.pro" +adb push fonts.obb /mnt/sdcard/Android/obb/com.mapswithme.maps.pro/fonts.obb +adb push world.obb /mnt/sdcard/Android/obb/com.mapswithme.maps.pro/world.obb + +rm fonts.obb +rm world.obb |