GUI: Fix path checking

This commit is contained in:
Mykola Grymalyuk
2023-05-13 19:00:11 -06:00
parent 02d3f6cc64
commit 6a0090987c
2 changed files with 2 additions and 1 deletions

View File

@@ -181,7 +181,7 @@ fi
mv "{str(self.application_path)}" "/Library/Application Support/Dortania/OpenCore-Patcher.app"
# 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"
fi
"""