mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-10 21:55:11 +01:00
parent
ba9ac544f1
commit
c251036dac
6
.github/workflows/magisk.yml
vendored
6
.github/workflows/magisk.yml
vendored
@ -209,9 +209,9 @@ jobs:
|
||||
sudo tee -a system/sbin/loadpolicy.sh <<EOF
|
||||
#!/system/bin/sh
|
||||
restorecon -R /data/adb/magisk
|
||||
for module in $(ls /data/adb/modules); do
|
||||
if ! [ -f "/data/adb/modules/$module/disable" ] && [ -f "/data/adb/modules/$module/sepolicy.rule" ]; then
|
||||
/sbin/magiskpolicy --live --apply "/data/adb/modules/$module/sepolicy.rule"
|
||||
for module in \$(ls /data/adb/modules); do
|
||||
if ! [ -f "/data/adb/modules/\$module/disable" ] && [ -f "/data/adb/modules/\$module/sepolicy.rule" ]; then
|
||||
/sbin/magiskpolicy --live --apply "/data/adb/modules/\$module/sepolicy.rule"
|
||||
fi
|
||||
done
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user