Add GUI Support for OpCore Simplify (#512)

* Refactor OpCore-Simplify to GUI version

* New ConfigEditor

* Add requirement checks and installation in launchers

* Add GitHub Actions workflow to generate manifest.json

* Set compression level for asset

* Skip .git and __pycache__ folders

* Refactor update process to include integrity checker

* Add SMBIOS model selection

* Update README.md

* Update to main branch
This commit is contained in:
Hoang Hong Quan
2025-12-30 14:19:47 +07:00
committed by GitHub
parent 871d826ea4
commit 0e608a56ce
38 changed files with 4948 additions and 1636 deletions
+8 -2
View File
@@ -1,3 +1,9 @@
from Scripts.settings import Settings
settings = Settings()
INCLUDE_BETA = settings.get_include_beta_versions()
class macOSVersionInfo:
def __init__(self, name, macos_version, release_status = "final"):
self.name = name
@@ -17,7 +23,7 @@ macos_versions = [
macOSVersionInfo("Tahoe", "26")
]
def get_latest_darwin_version(include_beta=True):
def get_latest_darwin_version(include_beta=INCLUDE_BETA):
for macos_version in macos_versions[::-1]:
if include_beta:
return "{}.{}.{}".format(macos_version.darwin_version, 99, 99)
@@ -32,4 +38,4 @@ def get_macos_name_by_darwin(darwin_version):
for data in macos_versions:
if data.darwin_version == int(darwin_version[:2]):
return "macOS {} {}{}".format(data.name, data.macos_version, "" if data.release_status == "final" else " (Beta)")
return None
return None