From e8d2b4f63e5784e568253707addbd578914e24ae Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Mon, 4 Oct 2021 12:47:27 -0600 Subject: [PATCH] Fix on-model building with CLI --- resources/arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/arguments.py b/resources/arguments.py index becb08fe7..4f3121a15 100644 --- a/resources/arguments.py +++ b/resources/arguments.py @@ -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")