diff --git a/CHANGELOG.md b/CHANGELOG.md index 50f3a78b9..20f637451 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # OpenCore Legacy Patcher changelog +## 1.2.0 +- Resolve application not existing if user dismisses an update instead of installing + ## 1.1.0 - Resolve rendering issues on Intel Broadwell iGPUs - Update non-Metal Binaries for macOS Sonoma: diff --git a/resources/constants.py b/resources/constants.py index abd6930d5..eae192d37 100644 --- a/resources/constants.py +++ b/resources/constants.py @@ -13,7 +13,7 @@ from data import os_data class Constants: def __init__(self) -> None: # Patcher Versioning - self.patcher_version: str = "1.1.0" # OpenCore-Legacy-Patcher + self.patcher_version: str = "1.2.0" # OpenCore-Legacy-Patcher self.patcher_support_pkg_version: str = "1.4.2" # PatcherSupportPkg self.copyright_date: str = "Copyright © 2020-2023 Dortania" self.patcher_name: str = "OpenCore Legacy Patcher" diff --git a/resources/wx_gui/gui_main_menu.py b/resources/wx_gui/gui_main_menu.py index 1417b35fe..d235bf69c 100644 --- a/resources/wx_gui/gui_main_menu.py +++ b/resources/wx_gui/gui_main_menu.py @@ -276,7 +276,7 @@ class MainFrame(wx.Frame): def _check_for_updates(self): if self.constants.has_checked_updates is True: return - + ignore_updates = global_settings.GlobalEnviromentSettings().read_property("IgnoreAppUpdates") if ignore_updates is True: self.constants.ignore_updates = True @@ -290,7 +290,7 @@ class MainFrame(wx.Frame): version = dict["Version"] logging.info(f"New version: {version}") - + wx.CallAfter(self.on_update, dict["Link"], version, dict["Github Link"]) def on_build_and_install(self, event: wx.Event = None): @@ -366,9 +366,9 @@ class MainFrame(wx.Frame): @media (prefers-color-scheme: dark) { body { color: #fff; - background-color: rgb(47,47,47); + background-color: rgb(47,47,47); } - + } """ @@ -408,7 +408,7 @@ class MainFrame(wx.Frame): frame.Centre() result = frame.ShowModal() - + if result == ID_GITHUB: webbrowser.open(oclp_github_url) @@ -422,6 +422,8 @@ class MainFrame(wx.Frame): version_label=oclp_version ) + frame.Destroy() + def _onWebviewNav(self, event): url = event.GetURL() webbrowser.open(url) \ No newline at end of file