mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-05 15:52:47 +02:00
Release script: ignore error when installing on real device.
This commit is contained in:
@@ -343,7 +343,11 @@ read -p "Does it look correct? Press enter when it's done."
|
|||||||
printf "\n================================================================================\n"
|
printf "\n================================================================================\n"
|
||||||
read -p "Installing apk on a real device, press enter when a real device is connected. "
|
read -p "Installing apk on a real device, press enter when a real device is connected. "
|
||||||
apkPath="${targetPath}/vector-gplay-arm64-v8a-release-signed.apk"
|
apkPath="${targetPath}/vector-gplay-arm64-v8a-release-signed.apk"
|
||||||
|
# Ignore error
|
||||||
|
set +e
|
||||||
adb -d install ${apkPath}
|
adb -d install ${apkPath}
|
||||||
|
# Do not ignore error
|
||||||
|
set -e
|
||||||
|
|
||||||
read -p "Please run the APK on your phone to check that the upgrade went well (no init sync, etc.). Press enter when it's done."
|
read -p "Please run the APK on your phone to check that the upgrade went well (no init sync, etc.). Press enter when it's done."
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user