Enable Solarium on Nightly builds, adjust Liquid Glass icon

This commit is contained in:
Jazzzny
2025-07-09 23:13:45 -04:00
parent 5c8d0d967d
commit 9f35856b39
4 changed files with 21 additions and 0 deletions

View File

@@ -131,6 +131,26 @@ class GenerateApplication:
f.write(data) f.write(data)
def _patch_sdk_version(self) -> None:
"""
Patch LC_BUILD_VERSION in Load Command to report the macOS 26 SDK
This will enable the Solarium refresh when running on macOS 26
Minor visual anomalies and padding issues exist, disable if not addressed before release
"""
_file = self._application_output / "Contents" / "MacOS" / "OpenCore-Patcher"
_find = b'\x00\x01\x0C\x00'
_replace = b'\x00\x00\x1A\x00'
print("Patching LC_BUILD_VERSION")
with open(_file, "rb") as f:
data = f.read()
data = data.replace(_find, _replace, 1)
with open(_file, "wb") as f:
f.write(data)
def _embed_git_data(self) -> None: def _embed_git_data(self) -> None:
""" """
Embed git data Embed git data
@@ -177,5 +197,6 @@ class GenerateApplication:
self._remove_analytics_key() self._remove_analytics_key()
self._patch_load_command() self._patch_load_command()
self._patch_sdk_version() if not self._git_branch or not self._git_branch.startswith('refs/tags') else None
self._embed_git_data() self._embed_git_data()
self._embed_resources() self._embed_resources()

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 KiB

After

Width:  |  Height:  |  Size: 639 KiB

Binary file not shown.