Fix USB Map

Closes https://github.com/dortania/Opencore-Legacy-Patcher/issues/26
This commit is contained in:
Mykola Grymalyuk
2020-12-15 15:13:26 -07:00
parent 0c8bda59a1
commit c6f84cc036
4 changed files with 8 additions and 3 deletions

4
.gitignore vendored
View File

@@ -1,7 +1,9 @@
.DS_Store
/App
/Build-Folder
/build
/dist
/.vscode
__pycache__/
*.py[cod]
*$py.class
*$py.class

View File

@@ -1,5 +1,8 @@
# OpenCore Legacy Patcher changelog
## 0.0.8
- Fix USB Map
## 0.0.7
- Add MacPro3,1 to HID patch
- Fix missing SSDT-CPBG patch

View File

@@ -20,7 +20,7 @@ except NameError:
pass
# List build versions
patcher_version = "0.0.7"
patcher_version = "0.0.8"
CustomSMBIOS=False
MainMenu=True

View File

@@ -229,7 +229,7 @@ def BuildEFI():
copy(usb_map_path, Versions.kext_path_build)
map_name = ("USB-Map-%s.kext" % current_model)
Versions.plist_data = Versions.plist_data.replace(
"<<false/><!--USBmap-->",
"<false/><!--USBmap-->",
"<true/><!--USBmap-->"
)
Versions.plist_data = Versions.plist_data.replace(