From 108abfc718e42dcc98cea4d16c9593d390912917 Mon Sep 17 00:00:00 2001 From: Rui Ying Date: Sat, 28 Oct 2023 02:04:22 -0700 Subject: [PATCH] Update rename script --- scripts/rename_apks_for_release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/rename_apks_for_release.sh b/scripts/rename_apks_for_release.sh index e86400d9..457a55a7 100755 --- a/scripts/rename_apks_for_release.sh +++ b/scripts/rename_apks_for_release.sh @@ -1,6 +1,7 @@ #!/bin/bash -APK_DIR="android/app/build/outputs/apk/release" +DIR="$(dirname "$0")" +APK_DIR="${DIR}/../android/app/build/outputs/apk/release" cp $APK_DIR/app-x86_64-release.apk $APK_DIR/learnX-x86_64-$VERSION_TAG.apk cp $APK_DIR/app-arm64-v8a-release.apk $APK_DIR/learnX-arm64-v8a-$VERSION_TAG.apk cp $APK_DIR/app-armeabi-v7a-release.apk $APK_DIR/learnX-armeabi-v7a-$VERSION_TAG.apk