From cba04077fb6aa24e8f6c0fe54b135ff4887413d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Wed, 19 Oct 2022 04:47:27 +0100 Subject: [PATCH] Update install-uvtools.sh --- Scripts/install-uvtools.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Scripts/install-uvtools.sh b/Scripts/install-uvtools.sh index c766534..26c0151 100644 --- a/Scripts/install-uvtools.sh +++ b/Scripts/install-uvtools.sh @@ -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