mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 06:30:52 +10:00
PKG: Fix alias creation
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
- Patch currently limited to Ventura and newer
|
- Patch currently limited to Ventura and newer
|
||||||
- Restore Function Keys on MacBook5,2 and MacBook4,1
|
- Restore Function Keys on MacBook5,2 and MacBook4,1
|
||||||
- Implementation by [@jazzzny](https://github.com/Jazzzny)
|
- Implementation by [@jazzzny](https://github.com/Jazzzny)
|
||||||
|
- Resolve Application alias not being created with AutoPatcher
|
||||||
- Backend changes:
|
- Backend changes:
|
||||||
- Rename OCLP-Helper to OpenCore-Patcher
|
- Rename OCLP-Helper to OpenCore-Patcher
|
||||||
- Allows for better identification when displaying prompts
|
- Allows for better identification when displaying prompts
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Create alias for OpenCore-Patcher.app
|
||||||
|
if [ ! -d "/Applications/OpenCore-Patcher.app" ]; then
|
||||||
|
ln -s "/Library/Application Support/Dortania/OpenCore-Patcher.app" "/Applications/OpenCore-Patcher.app"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Start root patching
|
||||||
app_path="/Library/Application Support/Dortania/OpenCore-Patcher.app/Contents/MacOS/OpenCore-Patcher"
|
app_path="/Library/Application Support/Dortania/OpenCore-Patcher.app/Contents/MacOS/OpenCore-Patcher"
|
||||||
args="--patch_sys_vol"
|
args="--patch_sys_vol"
|
||||||
"$app_path" "$args" &> "/Users/Shared/.OCLP-AutoPatcher-Log-$(date +"%Y_%m_%d_%I_%M_%p").txt"
|
"$app_path" "$args" &> "/Users/Shared/.OCLP-AutoPatcher-Log-$(date +"%Y_%m_%d_%I_%M_%p").txt"
|
||||||
|
|||||||
Reference in New Issue
Block a user