Update install-uvtools.sh

This commit is contained in:
Tiago Conceição
2022-10-19 04:44:28 +01:00
parent 8942292e8b
commit 30c9c6d69e
+5 -1
View File
@@ -61,7 +61,11 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then
echo "arm64: Always run 'bash run-uvtools.sh' from desktop to run UVtools"
fi
[ -f "$appDir/Contents/MacOS/UVtools.sh" ] && bash "$appDir/Contents/MacOS/UVtools.sh" & || open "$appDir"
if [ -f "$appDir/Contents/MacOS/UVtools.sh" ]; then
bash "$appDir/Contents/MacOS/UVtools.sh" &
else
open "$appDir"
fi
fi
exit 1