Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Conceição <Tiago_caza@hotmail.com>2022-10-30 17:57:10 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2022-10-30 17:57:10 +0300
commitc534f3c120936d06301be041ec5f3b56f2509fbb (patch)
tree3435f1f3228695ed1837dd0deed878e010dd3a54 /Scripts
parent9580b26fe5fa3e699c5ab4ad5524154ab031e141 (diff)
Update install-uvtools.sh
Diffstat (limited to 'Scripts')
-rw-r--r--Scripts/install-uvtools.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Scripts/install-uvtools.sh b/Scripts/install-uvtools.sh
index a7ad134..30ceecf 100644
--- a/Scripts/install-uvtools.sh
+++ b/Scripts/install-uvtools.sh
@@ -30,7 +30,7 @@ downloaduvtools(){
echo "- Kill instances"
killall UVtools 2> /dev/null
- ps -ef | grep '.*dotnet.*UVtools.dll' | grep -v grep | awk '{print $2}' | xargs -r kill
+ ps -ef | grep '.*dotnet.*UVtools.dll' | grep -v grep | awk '{print $2}' | xargs kill
sleep 0.5
}
@@ -144,7 +144,7 @@ echo "Error: UVtools.app not found on known paths"
nohup bash "$appPath/Contents/MacOS/UVtools.sh" &> /dev/null &
disown
elif [ -d "$appPath" ]; then
- open "$appPath"
+ open -n "$appPath"
fi
else
echo "Installation unsuccessful, unable to create '$appPath'."