mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
gui: publish version in UI header
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
- Alleviates Notification Centre Crashing
|
||||
- Work-around MacPro6,1 and Lilu race condition
|
||||
- Ensure Model and Board ID are set correctly before Lilu loads
|
||||
- Publish Application Version in UI header
|
||||
- Allows for easier identification of version when reporting issues
|
||||
- Increment Binaries:
|
||||
- AirPortBrcmFixup 2.1.6 - release
|
||||
- AppleALC 1.7.6 - release
|
||||
|
||||
@@ -53,7 +53,7 @@ class wx_python_gui:
|
||||
self.app = wx.App()
|
||||
if frame is None:
|
||||
self.frame = wx.Frame(
|
||||
None, title="OpenCore Legacy Patcher",
|
||||
None, title=f"OpenCore Legacy Patcher ({self.constants.patcher_version})",
|
||||
size=(self.WINDOW_WIDTH_MAIN, self.WINDOW_HEIGHT_MAIN),
|
||||
style = wx.DEFAULT_FRAME_STYLE & ~(wx.RESIZE_BORDER | wx.MAXIMIZE_BOX)
|
||||
)
|
||||
@@ -347,7 +347,7 @@ class wx_python_gui:
|
||||
self.reset_window()
|
||||
|
||||
# Set header text
|
||||
self.frame.SetTitle(f"OpenCore Legacy Patcher")
|
||||
self.frame.SetTitle(f"OpenCore Legacy Patcher ({self.constants.patcher_version})")
|
||||
# Header
|
||||
self.header = wx.StaticText(self.frame, label=f"OpenCore Legacy Patcher v{self.constants.patcher_version}")
|
||||
self.header.SetFont(wx.Font(18, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD))
|
||||
|
||||
Reference in New Issue
Block a user