mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-09-02 10:41:17 +00:00
No need to add VpnDialogs for 2304
This commit is contained in:
parent
bdcb07119c
commit
ffff85324f
1 changed files with 9 additions and 8 deletions
|
@ -832,6 +832,7 @@ elif [ "$ROOT_SOL" = "kernelsu" ]; then
|
||||||
echo -e "Integrate KernelSU done\n"
|
echo -e "Integrate KernelSU done\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$WSA_MAIN_VER" -lt 2304 ]]; then
|
||||||
echo "Add extra packages"
|
echo "Add extra packages"
|
||||||
sudo cp -r "../$ARCH/system/"* "$SYSTEM_MNT" || abort
|
sudo cp -r "../$ARCH/system/"* "$SYSTEM_MNT" || abort
|
||||||
find "../$ARCH/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs -I placeholder sudo find "$SYSTEM_MNT/priv-app/placeholder" -type d -exec chmod 0755 {} \;
|
find "../$ARCH/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs -I placeholder sudo find "$SYSTEM_MNT/priv-app/placeholder" -type d -exec chmod 0755 {} \;
|
||||||
|
@ -839,7 +840,7 @@ find "../$ARCH/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs
|
||||||
find "../$ARCH/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs -I placeholder sudo find "$SYSTEM_MNT/priv-app/placeholder" -exec chown root:root {} \;
|
find "../$ARCH/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs -I placeholder sudo find "$SYSTEM_MNT/priv-app/placeholder" -exec chown root:root {} \;
|
||||||
find "../$ARCH/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs -I placeholder sudo find "$SYSTEM_MNT/priv-app/placeholder" -exec setfattr -n security.selinux -v "u:object_r:system_file:s0" {} \; || abort
|
find "../$ARCH/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs -I placeholder sudo find "$SYSTEM_MNT/priv-app/placeholder" -exec setfattr -n security.selinux -v "u:object_r:system_file:s0" {} \; || abort
|
||||||
echo -e "Add extra packages done\n"
|
echo -e "Add extra packages done\n"
|
||||||
|
fi
|
||||||
if [ "$GAPPS_BRAND" != 'none' ]; then
|
if [ "$GAPPS_BRAND" != 'none' ]; then
|
||||||
echo "Integrate $GAPPS_BRAND"
|
echo "Integrate $GAPPS_BRAND"
|
||||||
find "$WORK_DIR/gapps/" -mindepth 1 -type d -exec sudo chmod 0755 {} \;
|
find "$WORK_DIR/gapps/" -mindepth 1 -type d -exec sudo chmod 0755 {} \;
|
||||||
|
|
Loading…
Add table
Reference in a new issue