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
+3 -1
View File
@@ -1,7 +1,9 @@
.DS_Store .DS_Store
/App /App
/Build-Folder /Build-Folder
/build
/dist
/.vscode /.vscode
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
*$py.class *$py.class
+3
View File
@@ -1,5 +1,8 @@
# OpenCore Legacy Patcher changelog # OpenCore Legacy Patcher changelog
## 0.0.8
- Fix USB Map
## 0.0.7 ## 0.0.7
- Add MacPro3,1 to HID patch - Add MacPro3,1 to HID patch
- Fix missing SSDT-CPBG patch - Fix missing SSDT-CPBG patch
+1 -1
View File
@@ -20,7 +20,7 @@ except NameError:
pass pass
# List build versions # List build versions
patcher_version = "0.0.7" patcher_version = "0.0.8"
CustomSMBIOS=False CustomSMBIOS=False
MainMenu=True MainMenu=True
+1 -1
View File
@@ -229,7 +229,7 @@ def BuildEFI():
copy(usb_map_path, Versions.kext_path_build) copy(usb_map_path, Versions.kext_path_build)
map_name = ("USB-Map-%s.kext" % current_model) map_name = ("USB-Map-%s.kext" % current_model)
Versions.plist_data = Versions.plist_data.replace( Versions.plist_data = Versions.plist_data.replace(
"<<false/><!--USBmap-->", "<false/><!--USBmap-->",
"<true/><!--USBmap-->" "<true/><!--USBmap-->"
) )
Versions.plist_data = Versions.plist_data.replace( Versions.plist_data = Versions.plist_data.replace(