mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 11:30:15 +10:00
Fix root patching from CLI
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import sys
|
import sys
|
||||||
import subprocess
|
from resources import defaults, build, utilities, validation, sys_patch
|
||||||
from resources import defaults, build, utilities, validation
|
from data import model_array
|
||||||
from data import example_data, model_array
|
|
||||||
|
|
||||||
# Generic building args
|
# Generic building args
|
||||||
class arguments:
|
class arguments:
|
||||||
@@ -102,7 +101,7 @@ If you plan to create the USB for another machine, please select the "Change Mod
|
|||||||
print("- Set Mojave/Catalina root patch configuration")
|
print("- Set Mojave/Catalina root patch configuration")
|
||||||
settings.moj_cat_accel = True
|
settings.moj_cat_accel = True
|
||||||
print("- Set System Volume patching")
|
print("- Set System Volume patching")
|
||||||
self.patch_vol()
|
sys_patch.PatchSysVolume(settings.custom_model or settings.computer.real_model, settings).start_patch()
|
||||||
elif self.args.unpatch_sys_vol:
|
elif self.args.unpatch_sys_vol:
|
||||||
print("- Set System Volume unpatching")
|
print("- Set System Volume unpatching")
|
||||||
self.unpatch_vol()
|
sys_patch.PatchSysVolume(settings.custom_model or settings.computer.real_model, settings).start_unpatch()
|
||||||
Reference in New Issue
Block a user