mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-17 04:40:01 +10:00
Implement single binary for 10.10-12.0
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
path = './dist/OpenCore-Patcher.app/Contents/MacOS/OpenCore-Patcher'
|
||||
find = b'\x00\x0D\x0A\x00'
|
||||
replace = b'\x00\x0A\x0A\x00'
|
||||
# Open file in binary mode
|
||||
with open(path, 'rb') as f:
|
||||
data = f.read()
|
||||
data = data.replace(find, replace)
|
||||
with open(path, 'wb') as f:
|
||||
f.write(data)
|
||||
Reference in New Issue
Block a user