forked from MapComplete/MapComplete
Android: add support scripts
This commit is contained in:
parent
e9c828a2c5
commit
2bea57f6a4
3 changed files with 8 additions and 4 deletions
|
@ -149,8 +149,11 @@
|
|||
"delete:database:old": "vite-node scripts/osm2pgsql/deleteOldDbs.ts",
|
||||
"upload:panoramax": "vite-node scripts/ImgurToPanoramax.ts # && josm imgur_to_panoramax.osc",
|
||||
|
||||
"#": "Android development"
|
||||
|
||||
"#": "Android development",
|
||||
"android:prepare": "./scripts/prepareAndroid.sh",
|
||||
"android:build": "./scripts/buildAndroid.sh",
|
||||
"android:upload": "scp ./android/app/build/outputs/apk/release/app-release-unsigned.apk hetzner:apk/mapcomplete-latest.apk && scp ./android/app/build/outputs/apk/release/app-release-unsigned.apk hetzner:app/mapcomplete-latest.apk\n",
|
||||
"android:uninstall": "adb shell pm uninstall org.mapcomplete"
|
||||
},
|
||||
"keywords": [
|
||||
"OpenStreetMap",
|
||||
|
|
|
@ -9,4 +9,3 @@ cd android
|
|||
|
||||
# Output location of the apk:
|
||||
# MapComplete/android/app/build/outputs/apk/release/app-release-unsigned.apk
|
||||
scp ./app/build/outputs/apk/release/app-release-unsigned.apk hetzner:apk/mapcomplete-latest.apk
|
||||
|
|
|
@ -59,5 +59,7 @@ nvm use
|
|||
npx capacitor-assets generate
|
||||
|
||||
npx cap sync
|
||||
|
||||
cd android
|
||||
echo "All done! Don't forget to click 'gradle sync files' in Android Studio"
|
||||
tput bel
|
||||
tput bel
|
||||
|
|
Loading…
Add table
Reference in a new issue