mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-26 21:24:15 +01:00
Copy magisk utils to /data/adb/magisk
This commit is contained in:
parent
039cf748e5
commit
74e041bc0f
3
.github/workflows/magisk.yml
vendored
3
.github/workflows/magisk.yml
vendored
@ -292,6 +292,9 @@ jobs:
|
|||||||
sudo cp magisk.zip system/sbin/magisk.apk
|
sudo cp magisk.zip system/sbin/magisk.apk
|
||||||
sudo tee -a system/sbin/loadpolicy.sh <<EOF
|
sudo tee -a system/sbin/loadpolicy.sh <<EOF
|
||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
mkdir -p /data/adb/magisk
|
||||||
|
cp /sbin/* /data/adb/magisk/
|
||||||
|
chmod -R 755 /data/adb/magisk
|
||||||
restorecon -R /data/adb/magisk
|
restorecon -R /data/adb/magisk
|
||||||
for module in \$(ls /data/adb/modules); do
|
for module in \$(ls /data/adb/modules); do
|
||||||
if ! [ -f "/data/adb/modules/\$module/disable" ] && [ -f "/data/adb/modules/\$module/sepolicy.rule" ]; then
|
if ! [ -f "/data/adb/modules/\$module/disable" ] && [ -f "/data/adb/modules/\$module/sepolicy.rule" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user