diff --git a/Scripts/install-uvtools.sh b/Scripts/install-uvtools.sh index e495bf8..4816e00 100644 --- a/Scripts/install-uvtools.sh +++ b/Scripts/install-uvtools.sh @@ -60,7 +60,7 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then run_script="$HOME/Desktop/run-uvtools" echo "#!/bin/bash -cd \"$(dirname \"$0\")\" +cd \"$(dirname \"\$0\")\" if [ -f \"$appPath/Contents/MacOS/UVtools.sh\" ]; then bash \"$appPath/Contents/MacOS/UVtools.sh\" & elif [ -f \"UVtools.app/Contents/MacOS/UVtools.sh\" ]; then