Skip to content

Commit fff9c4b

Browse files
committed
Update BuildOpenCore.py
1 parent d6224db commit fff9c4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Resources/BuildOpenCore.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,8 @@ def BuildSMBIOS():
272272
new_model = "MacPro7,1"
273273

274274
# Grab serials from macserial
275+
serialPatch = subprocess.Popen(["xattr", "-cr", "./payloads/tools/macserial"], stdout=subprocess.PIPE).communicate()[0]
276+
print(serialPatch)
275277
serialData = subprocess.Popen((r"./payloads/tools/macserial -g -m " + new_model + " -n 1").split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
276278
serialData = serialData.stdout.read().strip().split(" | ")
277279

0 commit comments

Comments
 (0)