mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
Fix OCLP-CLI crash
This commit is contained in:
@@ -136,7 +136,7 @@ class OpenCoreLegacyPatcher():
|
|||||||
if args.model:
|
if args.model:
|
||||||
print(f"- Using custom model: {args.model}")
|
print(f"- Using custom model: {args.model}")
|
||||||
self.constants.custom_model = args.model
|
self.constants.custom_model = args.model
|
||||||
self.set_defaults(self.computer.custom_model, False)
|
self.set_defaults(self.constants.custom_model, False)
|
||||||
self.build_opencore()
|
self.build_opencore()
|
||||||
else:
|
else:
|
||||||
print(f"- Using detected model: {self.constants.computer.real_model}")
|
print(f"- Using detected model: {self.constants.computer.real_model}")
|
||||||
|
|||||||
Reference in New Issue
Block a user