mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-04-22 00:19:08 +00:00
Ignore VelvetTitan
(#713)
This commit is contained in:
parent
7bc3428a5c
commit
661f71eae7
1 changed files with 2 additions and 2 deletions
|
@ -640,7 +640,7 @@ if [ "$GAPPS_BRAND" != 'none' ]; then
|
||||||
abort "Unzip OpenGApps failed, is the download incomplete?"
|
abort "Unzip OpenGApps failed, is the download incomplete?"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if ! unzip "$GAPPS_PATH" "system/*" -x "system/addon.d/*" "system/system_ext/priv-app/SetupWizard/*" -d "$WORK_DIR/gapps"; then
|
if ! unzip "$GAPPS_PATH" "system/*" -x "system/addon.d/*" "system/product/priv-app/VelvetTitan/*" "system/system_ext/priv-app/SetupWizard/*" -d "$WORK_DIR/gapps"; then
|
||||||
CLEAN_DOWNLOAD_GAPPS=1
|
CLEAN_DOWNLOAD_GAPPS=1
|
||||||
abort "Unzip MindTheGapps failed, package is corrupted?"
|
abort "Unzip MindTheGapps failed, package is corrupted?"
|
||||||
fi
|
fi
|
||||||
|
@ -755,7 +755,7 @@ if [ "$REMOVE_AMAZON" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Add device administration features"
|
echo "Add device administration features"
|
||||||
sudo sed -i -e '/cts/a \ \ \ \ <feature name="android.software.device_admin" />' -e '/print/i \ \ \ \ <feature name="android.software.managed_users" />' "$VENDOR_MNT/etc/permissions/windows.permissions.xml"
|
sudo sed -ie '/cts/a \ <feature name="android.software.device_admin" />' -e '/print/i \ <feature name="android.software.managed_users" />' "$VENDOR_MNT/etc/permissions/windows.permissions.xml"
|
||||||
sudo setfattr -n security.selinux -v "u:object_r:vendor_configs_file:s0" "$VENDOR_MNT/etc/permissions/windows.permissions.xml" || abort
|
sudo setfattr -n security.selinux -v "u:object_r:vendor_configs_file:s0" "$VENDOR_MNT/etc/permissions/windows.permissions.xml" || abort
|
||||||
echo -e "done\n"
|
echo -e "done\n"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue