From bd4564f98edd3fe7e07277448b5a96e59d6adb42 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Tue, 20 Apr 2021 07:15:04 -0600 Subject: [PATCH] Clarify uninstallation docs --- OCLP-CLI.command | 9 +++++++-- docs/UNINSTALL.md | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/OCLP-CLI.command b/OCLP-CLI.command index 4276fbcb4..af28cde42 100755 --- a/OCLP-CLI.command +++ b/OCLP-CLI.command @@ -142,11 +142,16 @@ class OpenCoreLegacyPatcher(): if args.custom_repo: self.constants.url_apple_binaries = args.custom_repo print(f"- Custom set repo to: {self.constants.url_apple_binaries}") - SysPatch.PatchSysVolume(self.constants.custom_model or self.current_model, self.constants).start_patch() + self.patch_vol() elif args.unpatch_sys_vol: print("- Set System Volume unpatching") - SysPatch.PatchSysVolume(self.constants.custom_model or self.current_model, self.constants).start_unpatch() + self.unpatch_vol() + def patch_vol(self): + SysPatch.PatchSysVolume(self.constants.custom_model or self.current_model, self.constants).start_patch() + + def unpatch_vol(self): + SysPatch.PatchSysVolume(self.constants.custom_model or self.current_model, self.constants).start_unpatch() def build_opencore(self): Build.BuildOpenCore(self.constants.custom_model or self.current_model, self.constants).build_opencore() diff --git a/docs/UNINSTALL.md b/docs/UNINSTALL.md index 027ee592f..c2ab54efa 100644 --- a/docs/UNINSTALL.md +++ b/docs/UNINSTALL.md @@ -3,7 +3,8 @@ To remove OpenCore is actually quite simply: 1. Remove OpenCore either from the USB or internal drive - * You'll need to mount the drive's EFI partition, and delete the EFI folder + * You'll need to mount the drive's EFI partition, and delete the EFI/OC folder as well as the System folder + * Note **do not** delete the entire EFI folder, this will likely break any existing Windows and Linux installations * [See here for example how to mount](https://dortania.github.io/OpenCore-Post-Install/universal/oc2hdd.html) 2. Reset NVRAM * [Reset NVRAM or PRAM on your Mac](https://support.apple.com/HT204063)