mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
sys_patch.py: Remove SkylightPlugins on unpatch
This commit is contained in:
@@ -212,6 +212,9 @@ class PatchSysVolume:
|
||||
print("- Failed to revert snapshot via bless, falling back on manual restoration")
|
||||
self.manual_root_patch_revert()
|
||||
else:
|
||||
if (Path(self.mount_application_support) / Path("/Library/Application Support/SkylightPlugins")).exists():
|
||||
print("- Found SkylightPlugins folder, removing")
|
||||
utilities.process_status(utilities.elevated(["rm", "-rf", "/Library/Application Support/SkylightPlugins"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT))
|
||||
print("- Unpatching complete")
|
||||
print("\nPlease reboot the machine for patches to take effect")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user