Increment build

This commit is contained in:
Mykola Grymalyuk
2023-10-23 11:33:39 -06:00
parent 60f403d4b4
commit 1641e2522b
3 changed files with 11 additions and 6 deletions

View File

@@ -1,5 +1,8 @@
# OpenCore Legacy Patcher changelog # OpenCore Legacy Patcher changelog
## 1.2.0
- Resolve application not existing if user dismisses an update instead of installing
## 1.1.0 ## 1.1.0
- Resolve rendering issues on Intel Broadwell iGPUs - Resolve rendering issues on Intel Broadwell iGPUs
- Update non-Metal Binaries for macOS Sonoma: - Update non-Metal Binaries for macOS Sonoma:

View File

@@ -13,7 +13,7 @@ from data import os_data
class Constants: class Constants:
def __init__(self) -> None: def __init__(self) -> None:
# Patcher Versioning # 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.patcher_support_pkg_version: str = "1.4.2" # PatcherSupportPkg
self.copyright_date: str = "Copyright © 2020-2023 Dortania" self.copyright_date: str = "Copyright © 2020-2023 Dortania"
self.patcher_name: str = "OpenCore Legacy Patcher" self.patcher_name: str = "OpenCore Legacy Patcher"

View File

@@ -276,7 +276,7 @@ class MainFrame(wx.Frame):
def _check_for_updates(self): def _check_for_updates(self):
if self.constants.has_checked_updates is True: if self.constants.has_checked_updates is True:
return return
ignore_updates = global_settings.GlobalEnviromentSettings().read_property("IgnoreAppUpdates") ignore_updates = global_settings.GlobalEnviromentSettings().read_property("IgnoreAppUpdates")
if ignore_updates is True: if ignore_updates is True:
self.constants.ignore_updates = True self.constants.ignore_updates = True
@@ -290,7 +290,7 @@ class MainFrame(wx.Frame):
version = dict["Version"] version = dict["Version"]
logging.info(f"New version: {version}") logging.info(f"New version: {version}")
wx.CallAfter(self.on_update, dict["Link"], version, dict["Github Link"]) wx.CallAfter(self.on_update, dict["Link"], version, dict["Github Link"])
def on_build_and_install(self, event: wx.Event = None): def on_build_and_install(self, event: wx.Event = None):
@@ -366,9 +366,9 @@ class MainFrame(wx.Frame):
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
color: #fff; color: #fff;
background-color: rgb(47,47,47); background-color: rgb(47,47,47);
} }
} }
</style> </style>
""" """
@@ -408,7 +408,7 @@ class MainFrame(wx.Frame):
frame.Centre() frame.Centre()
result = frame.ShowModal() result = frame.ShowModal()
if result == ID_GITHUB: if result == ID_GITHUB:
webbrowser.open(oclp_github_url) webbrowser.open(oclp_github_url)
@@ -422,6 +422,8 @@ class MainFrame(wx.Frame):
version_label=oclp_version version_label=oclp_version
) )
frame.Destroy()
def _onWebviewNav(self, event): def _onWebviewNav(self, event):
url = event.GetURL() url = event.GetURL()
webbrowser.open(url) webbrowser.open(url)