Revise Versioning to 0.4.0

This commit is contained in:
Mykola Grymalyuk
2022-01-18 21:39:45 -07:00
parent b2e5037c2e
commit 461f9ddb9b
7 changed files with 20 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
# OpenCore Legacy Patcher changelog
## 0.3.4
## 0.4.0
- Resolves Install USB Creation using incorrect installer
- Resolves `installer` failing to extract InstallAssistant in older OSes
- Resolves certain Samsung NVMe drives appearing as external on Mac Pros
@@ -11,7 +11,7 @@
- Increment Binaries:
- OpenCore 0.7.7 - release
- RestrictEvents 1.0.6 - release
- FeatureUnlock 1.0.6 - rolling (a84ab53)
- FeatureUnlock 1.0.6 - rolling (9215445)
- WhateverGreen 1.5.6 - release
- Lilu 1.5.9 - release
- gfxutil 1.8.2b - release
@@ -23,12 +23,10 @@
- Allow optional spoofing on native Models
- Recommended for systems that cannot update their firmware natively (ie. dead internal drive)
- Add Dropbox fix for non-Metal on Monterey
- Disable AirPlay to Mac/Sidecar patch set by default
- Work-around some older systems with memory instability
- Configurable by end user to re-enable (via FeatureUnlock setting)
- Add App Update checks to GUI
- If new version available, app will prompt on launch.
- Configurable in Developer Settings
- Resolved OS crashing on slow Macs with FeatureUnlock
## 0.3.3
- Disable Asset Caching support with spoofless approach

View File

@@ -340,7 +340,7 @@ class wx_python_gui:
# Define Menu
# Header: Get help with OpenCore Legacy Patcher
# Subheader: Following resources are available:
# Button: Official Guide
# Button: Offical Guide
# Button: Offical Discord Server
self.frame.DestroyChildren()
@@ -362,8 +362,8 @@ class wx_python_gui:
self.subheader.Centre(wx.HORIZONTAL)
# Official Guide
self.guide = wx.Button(self.frame, label="Official Guide", size=(200,30))
# Offical Guide
self.guide = wx.Button(self.frame, label="Offical Guide", size=(200,30))
self.guide.SetPosition(
wx.Point(
self.subheader.GetPosition().x,
@@ -374,8 +374,8 @@ class wx_python_gui:
self.guide.Bind(wx.EVT_BUTTON, lambda event: webbrowser.open(self.constants.guide_link))
self.guide.Centre(wx.HORIZONTAL)
# Official Discord Server
self.discord = wx.Button(self.frame, label="Official Discord Server", size=(200,30))
# Offical Discord Server
self.discord = wx.Button(self.frame, label="Offical Discord Server", size=(200,30))
self.discord.SetPosition(
wx.Point(
self.guide.GetPosition().x,

View File

@@ -14,7 +14,7 @@ from data import os_data
class Constants:
def __init__(self):
# Patcher Versioning
self.patcher_version = "0.3.4" # OpenCore-Legacy-Patcher
self.patcher_version = "0.4.0" # OpenCore-Legacy-Patcher
self.patcher_support_pkg_version = "0.2.9" # PatcherSupportPkg
self.url_patcher_support_pkg = "https://github.com/dortania/PatcherSupportPkg/releases/download/"
self.nightly_url_patcher_support_pkg = "https://nightly.link/dortania/PatcherSupportPkg/workflows/build/master/"

View File

@@ -22,13 +22,6 @@ class generate_defaults:
settings.amfi_status = True
settings.allow_fv_root = True # Allow FileVault on broken seal
break
if model not in model_array.SupportedSMBIOS:
# Allow FeatureUnlock on native models
settings.fu_status = True
settings.fu_arguments = None
else:
settings.fu_status = True
settings.fu_arguments = " -disable_sidecar_mac"
if (
isinstance(settings.computer.wifi, device_probe.Broadcom)
and settings.computer.wifi.chipset in [device_probe.Broadcom.Chipsets.AirPortBrcm4331, device_probe.Broadcom.Chipsets.AirPortBrcm43224]
@@ -61,9 +54,6 @@ class generate_defaults:
settings.serial_settings = "Minimal"
elif model in model_array.LegacyGPU:
settings.disable_cs_lv = True
elif model in model_array.SupportedSMBIOS:
settings.fu_status = True
settings.fu_arguments = " -disable_sidecar_mac"
if model in model_array.LegacyGPU:
if host_is_target and utilities.check_metal_support(device_probe, settings.computer) is True:

View File

@@ -29,9 +29,18 @@ class check_binary_updates:
return False
def check_if_build_newer(self):
for i in range(0, 3):
if self.remote_version_array[i] > self.binary_version_array[i]:
if self.remote_version_array[0] > self.binary_version_array[0]:
return True
elif self.remote_version_array[0] == self.binary_version_array[0]:
if self.remote_version_array[1] > self.binary_version_array[1]:
return True
elif self.remote_version_array[1] == self.binary_version_array[1]:
if self.remote_version_array[2] > self.binary_version_array[2]:
return True
else:
return False
else:
return False
return False
def determine_local_build_type(self):