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

View File

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

View File

@@ -618,7 +618,7 @@ class Constants:
@property @property
def oclp_helper_path(self): 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 @property
def rsrrepair_userspace_path(self): def rsrrepair_userspace_path(self):

View File

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