Enable Zygisk by default in emulators

Make sure CI tests Zygisk
This commit is contained in:
topjohnwu
2023-09-28 15:37:11 -07:00
parent 6e7a995716
commit 5c92d39498
5 changed files with 26 additions and 5 deletions
+3
View File
@@ -66,6 +66,9 @@ if [ -d /dev/avd-magisk ]; then
rm -rf /dev/avd-magisk 2>/dev/null
fi
# Make sure boot completed props are not set to 1
setprop sys.boot_completed 0
# Mount /cache if not already mounted
if ! grep -q ' /cache ' /proc/mounts; then
mount -t tmpfs -o 'mode=0755' tmpfs /cache
+1 -1
View File
@@ -35,7 +35,7 @@ cleanup() {
wait_for_boot() {
adb wait-for-device
while true; do
if [ "stopped" = "$(adb exec-out getprop init.svc.bootanim)" ]; then
if [ "1" = "$(adb exec-out getprop sys.boot_completed)" ]; then
break
fi
sleep 2