From 2b1d598bf3a352dbc8f7c96041ef90d45dd4154f Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Fri, 19 May 2023 16:23:48 -0600 Subject: [PATCH 1/4] GUI: Fix ComboBox not updating variable --- resources/wx_gui/gui_settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/wx_gui/gui_settings.py b/resources/wx_gui/gui_settings.py index a7ef5f53e..8b608eda1 100644 --- a/resources/wx_gui/gui_settings.py +++ b/resources/wx_gui/gui_settings.py @@ -178,6 +178,8 @@ class SettingsFrame(wx.Frame): # combobox.Bind(wx.EVT_COMBOBOX, lambda event, variable=setting: self.on_combobox(event, variable)) if "override_function" in setting_info: combobox.Bind(wx.EVT_COMBOBOX, lambda event, variable=setting: self.settings[tab][variable]["override_function"](event)) + else: + combobox.Bind(wx.EVT_COMBOBOX, lambda event, variable=setting: self.on_combobox(event, variable)) height += 10 elif setting_info["type"] == "button": button = wx.Button(panel, label=setting, pos=(width + 25, 10 + height), size = (200,-1)) From fefd6511575b3332ccbaa26d67aaf829c2b15319 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Fri, 19 May 2023 16:30:42 -0600 Subject: [PATCH 2/4] Sync CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57773df44..133fbf6fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - Credit to CaseyJ's [PCI Bus Enumeration Patch](https://github.com/AMD-OSX/AMD_Vanilla/pull/196) - Resolve PCI eject menu appearing on unsupported hardware - Resolve kernel panic on wake for AMD TeraScale 1 and Nvidia Tesla 8000 series GPUs +- Resolve loss of Ethernet after wake on MacPro3,1 in Ventura - Resolve graphics corruption on wake for TeraScale 1 - Patch currently limited to Ventura and newer - Restore Function Keys on MacBook5,2 and MacBook4,1 From 48dd47aed3970ca618a29940e99b5687803c72d4 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Fri, 19 May 2023 22:37:16 -0600 Subject: [PATCH 3/4] PKG: Fix alias creation --- CHANGELOG.md | 1 + payloads/InstallPackage/postinstall.sh | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 133fbf6fc..ba52c2f4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - Patch currently limited to Ventura and newer - Restore Function Keys on MacBook5,2 and MacBook4,1 - Implementation by [@jazzzny](https://github.com/Jazzzny) +- Resolve Application alias not being created with AutoPatcher - Backend changes: - Rename OCLP-Helper to OpenCore-Patcher - Allows for better identification when displaying prompts diff --git a/payloads/InstallPackage/postinstall.sh b/payloads/InstallPackage/postinstall.sh index f530f6e79..80c4f12aa 100755 --- a/payloads/InstallPackage/postinstall.sh +++ b/payloads/InstallPackage/postinstall.sh @@ -1,4 +1,11 @@ #!/bin/sh + +# Create alias for OpenCore-Patcher.app +if [ ! -d "/Applications/OpenCore-Patcher.app" ]; then + ln -s "/Library/Application Support/Dortania/OpenCore-Patcher.app" "/Applications/OpenCore-Patcher.app" +fi + +# Start root patching app_path="/Library/Application Support/Dortania/OpenCore-Patcher.app/Contents/MacOS/OpenCore-Patcher" args="--patch_sys_vol" "$app_path" "$args" &> "/Users/Shared/.OCLP-AutoPatcher-Log-$(date +"%Y_%m_%d_%I_%M_%p").txt" From cb6f294d3544cb0c9d17d7e76e5e36510c6f1e7f Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sat, 20 May 2023 09:52:46 -0600 Subject: [PATCH 4/4] GUI: Adjust ComboBox width --- resources/wx_gui/gui_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/wx_gui/gui_settings.py b/resources/wx_gui/gui_settings.py index 8b608eda1..8b4a4bc82 100644 --- a/resources/wx_gui/gui_settings.py +++ b/resources/wx_gui/gui_settings.py @@ -173,7 +173,7 @@ class SettingsFrame(wx.Frame): height += title.GetSize()[1] + 10 # Add combobox, and description underneath - combobox = wx.ComboBox(panel, value=setting_info["value"], pos=(width + 25, 10 + height), choices=setting_info["choices"], size = (130,-1)) + combobox = wx.ComboBox(panel, value=setting_info["value"], pos=(width + 25, 10 + height), choices=setting_info["choices"], size = (150,-1)) combobox.SetFont(wx.Font(13, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, False, ".AppleSystemUIFont")) # combobox.Bind(wx.EVT_COMBOBOX, lambda event, variable=setting: self.on_combobox(event, variable)) if "override_function" in setting_info: