Update install-uvtools.sh

This commit is contained in:
Tiago Conceição
2022-10-19 04:47:27 +01:00
parent 30c9c6d69e
commit cba04077fb
+3 -2
View File
@@ -56,9 +56,10 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then
# arm64: Create script on user desktop to run UVtools
if [ "$arch_name" == "arm64" ]; then
run_script="/Users/$USER/Desktop/run-uvtools.sh"
echo "#!/bin/bash\nbash '$appDir/Contents/MacOS/UVtools.sh' &" > "$run_script"
echo "#!/bin/bash
bash '$appDir/Contents/MacOS/UVtools.sh' &" > "$run_script"
chmod a+x "$run_script"
echo "arm64: Always run 'bash run-uvtools.sh' from desktop to run UVtools"
echo "Note: Always run 'bash run-uvtools.sh' from desktop to run UVtools on your mac arm64!"
fi
if [ -f "$appDir/Contents/MacOS/UVtools.sh" ]; then