mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 11:30:15 +10:00
Clarify uninstallation docs
This commit is contained in:
@@ -142,11 +142,16 @@ class OpenCoreLegacyPatcher():
|
|||||||
if args.custom_repo:
|
if args.custom_repo:
|
||||||
self.constants.url_apple_binaries = args.custom_repo
|
self.constants.url_apple_binaries = args.custom_repo
|
||||||
print(f"- Custom set repo to: {self.constants.url_apple_binaries}")
|
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:
|
elif args.unpatch_sys_vol:
|
||||||
print("- Set System Volume unpatching")
|
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):
|
def build_opencore(self):
|
||||||
Build.BuildOpenCore(self.constants.custom_model or self.current_model, self.constants).build_opencore()
|
Build.BuildOpenCore(self.constants.custom_model or self.current_model, self.constants).build_opencore()
|
||||||
|
|||||||
@@ -3,7 +3,8 @@
|
|||||||
To remove OpenCore is actually quite simply:
|
To remove OpenCore is actually quite simply:
|
||||||
|
|
||||||
1. Remove OpenCore either from the USB or internal drive
|
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)
|
* [See here for example how to mount](https://dortania.github.io/OpenCore-Post-Install/universal/oc2hdd.html)
|
||||||
2. Reset NVRAM
|
2. Reset NVRAM
|
||||||
* [Reset NVRAM or PRAM on your Mac](https://support.apple.com/HT204063)
|
* [Reset NVRAM or PRAM on your Mac](https://support.apple.com/HT204063)
|
||||||
|
|||||||
Reference in New Issue
Block a user