Utlize LSUIElement for Helper binary

This commit is contained in:
Mykola Grymalyuk
2023-05-17 12:36:27 -06:00
parent d576752744
commit 96fcba8391
7 changed files with 11 additions and 8 deletions

View File

@@ -18,7 +18,7 @@
- Resolve graphics corruption on wake for TeraScale 1
- Patch currently limited to Ventura and newer
- Backend changes:
- Rename OCLP-Helper to OpenCore-Patcher-Helper
- Rename OCLP-Helper to OpenCore-Patcher
- Allows for better identification when displaying prompts
- Reimplement wxPython GUI into modularized system:
- Allows for easier maintenance and future expansion

View File

@@ -3,9 +3,9 @@
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>OpenCore-Patcher-Helper</string>
<string>OpenCore-Patcher</string>
<key>CFBundleExecutable</key>
<string>OpenCore-Patcher-Helper</string>
<string>OpenCore-Patcher</string>
<key>CFBundleIconFile</key>
<string>OC-Patcher.icns</string>
<key>CFBundleIdentifier</key>
@@ -13,7 +13,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>OpenCore-Patcher-Helper</string>
<string>OpenCore-Patcher</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>LSMinimumSystemVersion</key>
@@ -22,5 +22,7 @@
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020-2023 Dortania</string>
<key>LSUIElement</key>
<true/>
</dict>
</plist>

View File

@@ -618,7 +618,7 @@ class Constants:
@property
def oclp_helper_path(self):
return self.payload_path / Path("Tools/OpenCore-Patcher-Helper.app/Contents/MacOS/OpenCore-Patcher-Helper")
return self.payload_path / Path("Tools/OpenCore-Patcher.app/Contents/MacOS/OpenCore-Patcher")
@property
def rsrrepair_userspace_path(self):

View File

@@ -1,11 +1,12 @@
# Copyright (C) 2022, Mykola Grymalyuk
import wx
import logging
import plistlib
import subprocess
import webbrowser
import logging
from pathlib import Path
import wx
from resources import utilities, updates, global_settings, network_handler, constants
from resources.sys_patch import sys_patch_detect