From cf2e06dabe83e4751c67a8633ab32545ed0bda4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Wed, 19 Oct 2022 05:06:09 +0100 Subject: [PATCH] Update install-uvtools.sh --- Scripts/install-uvtools.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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