sys_patch.py: Strip duplicate code

SysPatch Detection core moved to sys_patch_detect.py
This commit is contained in:
Mykola Grymalyuk
2022-02-02 13:03:31 -07:00
parent 7fc5de8e27
commit e0af3206cf
4 changed files with 40 additions and 148 deletions
+2 -2
View File
@@ -101,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")
settings.moj_cat_accel = True
print("- Set System Volume patching")
sys_patch.PatchSysVolume(settings.custom_model or settings.computer.real_model, settings).start_patch()
sys_patch.PatchSysVolume(settings.custom_model or settings.computer.real_model, settings, None).start_patch()
elif self.args.unpatch_sys_vol:
print("- Set System Volume unpatching")
sys_patch.PatchSysVolume(settings.custom_model or settings.computer.real_model, settings).start_unpatch()
sys_patch.PatchSysVolume(settings.custom_model or settings.computer.real_model, settings, None).start_unpatch()