diff --git a/README.android.md b/README.android.md index 078196b..143db8c 100644 --- a/README.android.md +++ b/README.android.md @@ -31,13 +31,8 @@ Make sure environment is properly configured: You should be able to build now: - ; cd uxn; ./build --no-run # need boot.rom to be included - - ; cd src/android; ./gradlew assembleDebug # now the APK - ............ - BUILD SUCCESSFUL in 111s - 31 actionable tasks: 3 executed, 28 up-to-date - + ; ./prepare-android.sh + ; cd src/android; ./gradlew assembleDebug ; find app -name *.apk app/build/outputs/apk/debug/app-debug.apk diff --git a/prepare-android.sh b/prepare-android.sh new file mode 100755 index 0000000..8736bc0 --- /dev/null +++ b/prepare-android.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +# need launcher.rom to be included +./build.sh --no-run +# duplicate? already have a piano +rm -f bin/asma-piano.rom + +# get more roms +curl https://rabbits.srht.site/uxn-rompack.tar.gz | tar -C bin -xzf - +mv bin/uxn/*.rom bin +rm -r bin/uxn