From 0646b8e07c7f61fef32ff7bc904303dfd5541c0a Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Fri, 28 Oct 2022 12:38:23 +0800 Subject: [PATCH 1/3] Run `loadpolicy.sh` synchronously (#225) --- scripts/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 8863920..225c5e4 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -515,6 +515,7 @@ if [ "$ROOT_SOL" = 'magisk' ] || [ "$ROOT_SOL" = '' ]; then #!/system/bin/sh mkdir -p /data/adb/magisk cp /sbin/* /data/adb/magisk/ +sync chmod -R 755 /data/adb/magisk restorecon -R /data/adb/magisk for module in \$(ls /data/adb/modules); do @@ -558,7 +559,7 @@ on post-fs-data copy /sbin/magisk.apk /dev/$TMP_PATH/stub.apk chmod 0644 /dev/$TMP_PATH/stub.apk rm /dev/.magisk_unblock - start $SERVER_NAME1 + exec_start $SERVER_NAME1 start $SERVER_NAME2 wait /dev/.magisk_unblock 40 rm /dev/.magisk_unblock From a63c7f5827fee18c1e9a73e97ab7b1e58e186d30 Mon Sep 17 00:00:00 2001 From: Himanshu Shivhare Date: Fri, 28 Oct 2022 11:51:24 +0530 Subject: [PATCH 2/3] simplified readme (#228) --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f8dbd20..536c66f 100644 --- a/README.md +++ b/README.md @@ -53,10 +53,11 @@ 1. Star (if you like) 1. Clone the repo to local - - Run `build.sh --help` to get the usage if you want to use CLI. -1. Run `scripts/run.sh` -1. Select the WSA version and its architecture (mostly x64) -1. Select the version of Magisk + - Run `cd scripts` + - Then run `build.sh --help` (optional) to get the usage if you want to use CLI. +1. Run `run.sh` under scripts directory. +1. Select the WSA version and its architecture (mostly x64). +1. Select the version of Magisk. 1. Choose which brand of GApps you want to install - OpenGApps From 0dba40de228812c6e48714a2e8d98c2260ded3fe Mon Sep 17 00:00:00 2001 From: Himanshu Shivhare Date: Fri, 28 Oct 2022 12:00:45 +0530 Subject: [PATCH 3/3] fix typo (#229) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 536c66f..3416665 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,8 @@ 1. Star (if you like) 1. Clone the repo to local - Run `cd scripts` - - Then run `build.sh --help` (optional) to get the usage if you want to use CLI. -1. Run `run.sh` under scripts directory. + - Then run `./build.sh --help` (optional) to get the usage if you want to use CLI. +1. Run `./run.sh` under scripts directory. 1. Select the WSA version and its architecture (mostly x64). 1. Select the version of Magisk. 1. Choose which brand of GApps you want to install