diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2022-10-23 07:24:48 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2022-10-23 07:24:48 +0300 |
commit | cebbc62f93c56b3d5765715de6990d23d1777a9e (patch) | |
tree | c6b5dd76bc39b6335da0f3cf8eef986b3846e996 | |
parent | 8fec074dfb036df330e019205d583cc9ef3a7eff (diff) |
Update install-uvtools.sh
-rw-r--r-- | Scripts/install-uvtools.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Scripts/install-uvtools.sh b/Scripts/install-uvtools.sh index 4816e00..b75952e 100644 --- a/Scripts/install-uvtools.sh +++ b/Scripts/install-uvtools.sh @@ -59,18 +59,18 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then if [ "$arch_name" == "arm64" ]; then run_script="$HOME/Desktop/run-uvtools" - echo "#!/bin/bash -cd \"$(dirname \"\$0\")\" + echo '#!/bin/bash +cd "$(dirname "$0")"'" if [ -f \"$appPath/Contents/MacOS/UVtools.sh\" ]; then bash \"$appPath/Contents/MacOS/UVtools.sh\" & elif [ -f \"UVtools.app/Contents/MacOS/UVtools.sh\" ]; then bash \"UVtools.app/Contents/MacOS/UVtools.sh\" & else - echo Error: UVtools.app not found on known paths + echo 'Error: UVtools.app not found on known paths' exit -1 fi -echo \"You can now close this terminal window.\" +echo 'You can now close this terminal window.' " > "$run_script" chmod a+x "$run_script" |