Skip to content

Commit

Permalink
feat(VPNDialogs): Add back VPNDialogs to match with lspinit build (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
YT-Advanced authored Sep 15, 2024
1 parent 798104b commit 40d9591
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added common/system/priv-app/VpnDialogs/VpnDialogs.apk
Binary file not shown.
9 changes: 9 additions & 0 deletions scripts/build_with_mount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,15 @@ elif [ "$ROOT_SOL" = "kernelsu" ]; then
echo -e "Copy KernelSU kernel done\n"
fi

echo "Add extra packages"
sudo cp -r "../common/system/"* "$SYSTEM_MNT" || abort
find "../common/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs -I placeholder sudo rm -rf "$SYSTEM_MNT/priv-app/placeholder/oat"
find "../common/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 "../common/system/priv-app/" -maxdepth 1 -mindepth 1 -printf '%P\n' | xargs -I placeholder sudo find "$SYSTEM_MNT/priv-app/placeholder" -type f -exec chmod 0644 {} \;
find "../common/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 "../common/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 "Permissions management Netfree and Netspark security certificates"
sudo cp -r "../cacerts/"* "$SYSTEM_MNT/etc/security/cacerts/" || abort
sudo chmod 0755 "$SYSTEM_MNT/etc/security/cacerts/"
Expand Down

0 comments on commit 40d9591

Please sign in to comment.