diff --git a/Scripts/install-uvtools.sh b/Scripts/install-uvtools.sh index 26c0151..9ecfd55 100644 --- a/Scripts/install-uvtools.sh +++ b/Scripts/install-uvtools.sh @@ -55,10 +55,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" + run_script="~/Desktop/run-uvtools.sh" echo "#!/bin/bash -bash '$appDir/Contents/MacOS/UVtools.sh' &" > "$run_script" - chmod a+x "$run_script" +bash '$appDir/Contents/MacOS/UVtools.sh' &" > $run_script + chmod a+x $run_script echo "Note: Always run 'bash run-uvtools.sh' from desktop to run UVtools on your mac arm64!" fi