Fix CLI crash

This commit is contained in:
Mykola Grymalyuk
2021-07-05 19:08:50 -06:00
parent 25522069dc
commit ed7c0c6760
4 changed files with 16 additions and 3 deletions

View File

@@ -76,9 +76,9 @@ class OpenCoreLegacyPatcher:
if args.disk:
print(f"- Install Disk set: {args.disk}")
self.constants.disk = args.disk
if args.patch_disk:
print(f"- Patch Disk set: {args.patch_disk}")
self.constants.patch_disk = args.patch_disk
#if args.patch_disk:
# print(f"- Patch Disk set: {args.patch_disk}")
# self.constants.patch_disk = args.patch_disk
if args.verbose:
print("- Set verbose configuration")
self.constants.verbose_debug = True

View File

@@ -564,6 +564,15 @@ class Constants:
"j185f",
]
sandy_board_id = [
"Mac-E43C1C25D4880AD6",
"Mac-06F11F11946D27C5",
"Mac-9F18E312C5C2BF0B",
"Mac-937CB26E2E02BB01",
"Mac-35C5E08120C7EEAF",
"Mac-7BA5B2D9E42DDD94",
]
board_id = {
"MacBook1,1": "Mac-F4208CC8",
"MacBook2,1": "Mac-F4208CA9",

View File

@@ -169,6 +169,8 @@
<false/>
<key>ResetLogoStatus</key>
<false/>
<key>SyncTableIds</key>
<false/>
</dict>
</dict>
<key>Booter</key>
@@ -1076,6 +1078,8 @@
</dict>
<key>Scheme</key>
<dict>
<key>CustomKernel</key>
<false/>
<key>FuzzyMatch</key>
<true/>
<key>KernelArch</key>