mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-22 11:00:16 +10:00
GUI: Fix path checking
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -35,3 +35,4 @@ __pycache__/
|
|||||||
*.log
|
*.log
|
||||||
/Universal-Binaries.dmg
|
/Universal-Binaries.dmg
|
||||||
/payloads/KDKInfo.plist
|
/payloads/KDKInfo.plist
|
||||||
|
/payloads/update.sh
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ fi
|
|||||||
mv "{str(self.application_path)}" "/Library/Application Support/Dortania/OpenCore-Patcher.app"
|
mv "{str(self.application_path)}" "/Library/Application Support/Dortania/OpenCore-Patcher.app"
|
||||||
|
|
||||||
# Check if '/Applications/OpenCore-Patcher.app' exists
|
# Check if '/Applications/OpenCore-Patcher.app' exists
|
||||||
if [ -d "/Applications/OpenCore-Patcher.app" ]; then
|
if [ ! -d "/Applications/OpenCore-Patcher.app" ]; then
|
||||||
ln -s "/Library/Application Support/Dortania/OpenCore-Patcher.app" "/Applications/OpenCore-Patcher.app"
|
ln -s "/Library/Application Support/Dortania/OpenCore-Patcher.app" "/Applications/OpenCore-Patcher.app"
|
||||||
fi
|
fi
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user