summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRomain Hunault <romain.hunault@e.email>2021-08-13 10:14:03 +0000
committerRomain Hunault <romain.hunault@e.email>2021-08-13 10:14:03 +0000
commitdaea2f9510ac1af22a4e2e2f3db7c2d6d314008b (patch)
tree2dfcd606e8693a79520f9931e566c237547e7cd1 /scripts
parent97b51f18dcc2f87a9cdd7f482033e30a6282d853 (diff)
parentf522c4615503120b5e62e45405e8c6c3b18e5e4a (diff)
Merge branch 'features/blocker' into 'master'
Add blocker feature See merge request e/privacy-central/privacycentralapp!6
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sign_and_push.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/scripts/sign_and_push.sh b/scripts/sign_and_push.sh
index 240f96a..035a47b 100755
--- a/scripts/sign_and_push.sh
+++ b/scripts/sign_and_push.sh
@@ -3,16 +3,15 @@
## This script is used for signing the apk with the platform keys and pushing it into System partition.
## Used for testing purposes.
-./gradlew assembleDebug
-rm PrivacyCentral.apk
-wait ${!}
-apksigner sign --key lineage_keys/platform.pk8 --cert lineage_keys/target_product_security_platform.x509.pem --out PrivacyCentral.apk app/build/outputs/apk/e/debug/app-e-debug.apk
-wait ${!}
+## Note: It is used only to build /e/ OS variant build.
+
+./gradlew assembleEDebug
adb root
wait ${!}
adb devices
wait ${!}
-adb install -r PrivacyCentral.apk
+adb install -r app/build/outputs/apk/e/debug/PrivacyCentral-e-debug-1.0.0-alpha.apk
wait ${!}
adb remount && adb push privapp-permissions-foundation.e.privacycentralapp.xml system/etc/permissions
-wait ${!} \ No newline at end of file
+wait ${!}
+adb shell am start -n "foundation.e.privacycentralapp.e/foundation.e.privacycentralapp.main.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER