mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
Fix on-model building with CLI
This commit is contained in:
@@ -95,7 +95,7 @@ If you plan to create the USB for another machine, please select the "Change Mod
|
||||
|
||||
# Avoid running the root patcher if we're just building
|
||||
if self.args.build:
|
||||
build.BuildOpenCore(settings.custom_model, settings).build_opencore()
|
||||
build.BuildOpenCore(settings.custom_model or settings.computer.real_model, settings).build_opencore()
|
||||
elif self.args.patch_sys_vol:
|
||||
if self.args.moj_cat_accel:
|
||||
print("- Set Mojave/Catalina root patch configuration")
|
||||
|
||||
Reference in New Issue
Block a user