Paylods: Move launch service files

This commit is contained in:
Mykola Grymalyuk
2023-11-01 19:43:46 -06:00
parent f0d6faab9a
commit 4196a7b5f2
7 changed files with 16 additions and 10 deletions

View File

@@ -236,12 +236,10 @@ class CreateBinary:
"Kexts",
"OpenCore",
"Tools",
"Launch Services",
]
whitelist_files = [
"com.dortania.opencore-legacy-patcher.auto-patch.plist",
"com.dortania.opencore-legacy-patcher.rsr-monitor.plist",
"com.dortania.opencore-legacy-patcher.macos-update.plist",
"entitlements.plist",
"launcher.sh",
"OC-Patcher-TUI.icns",

View File

@@ -8,7 +8,7 @@
- Update non-Metal Binaries for macOS Sonoma:
- Resolve Photos app crash
- Workaround tile window popup freezing apps by disabling the feature
- Workaround monochrome desktop widgets rendering issues by enforcing full color (can be disabled in OCLP settings )
- Workaround monochrome desktop widgets rendering issues by enforcing full color (can be disabled in OCLP settings)
- Add new Launch Daemon for clean up on macOS updates
- Resolves KDKless Macs failing to boot after updating from 14.0 to 14.x
- `/Library/LaunchDaemons/com.dortania.opencore-legacy-patcher.macos-update.plist`

View File

@@ -235,7 +235,7 @@
<key>GID</key>
<integer>0</integer>
<key>PATH</key>
<string>../com.dortania.opencore-legacy-patcher.auto-patch.plist</string>
<string>../Launch Services/com.dortania.opencore-legacy-patcher.auto-patch.plist</string>
<key>PATH_TYPE</key>
<integer>1</integer>
<key>PERMISSIONS</key>

View File

@@ -13,5 +13,9 @@
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/var/log/OpenCore-Patcher.log</string>
<key>StandardOutPath</key>
<string>/var/log/OpenCore-Patcher.log</string>
</dict>
</plist>

View File

@@ -5,7 +5,7 @@
<key>AssociatedBundleIdentifiers</key>
<string>com.dortania.opencore-legacy-patcher</string>
<key>Label</key>
<string>com.dortania.opencore-legacy-patcher.rsr-monitor</string>
<string>com.dortania.opencore-legacy-patcher.macos-update</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Dortania/OpenCore-Patcher.app/Contents/MacOS/OpenCore-Patcher</string>

View File

@@ -279,18 +279,22 @@ class Constants:
def plist_template(self):
return self.payload_path / Path("Config/config.plist")
# Launch Agent
# Launch Services
@property
def launch_services_path(self):
return self.payload_path / Path("Launch Services")
@property
def auto_patch_launch_agent_path(self):
return self.payload_path / Path("com.dortania.opencore-legacy-patcher.auto-patch.plist")
return self.launch_services_path / Path("com.dortania.opencore-legacy-patcher.auto-patch.plist")
@property
def rsr_monitor_launch_daemon_path(self):
return self.payload_path / Path("com.dortania.opencore-legacy-patcher.rsr-monitor.plist")
return self.launch_services_path / Path("com.dortania.opencore-legacy-patcher.rsr-monitor.plist")
@property
def update_launch_daemon_path(self):
return self.payload_path / Path("com.dortania.opencore-legacy-patcher.macos-update.plist")
return self.launch_services_path / Path("com.dortania.opencore-legacy-patcher.macos-update.plist")
# ACPI
@property