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 20:09:14 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2022-10-30 20:09:14 +0300
commit16cbe21315d3ea88266186fe98577fd74777ea72 (patch)
treef6c915641eb2d69a7aa340f8f9dd52e575861575 /UVtools.WPF
parent0de089b8bac57d2b46b644de4be3086ad321b87f (diff)
Fix -r macOS
Diffstat (limited to 'UVtools.WPF')
-rw-r--r--UVtools.WPF/Structures/AppVersionChecker.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.WPF/Structures/AppVersionChecker.cs b/UVtools.WPF/Structures/AppVersionChecker.cs
index e0e18c1..3a12632 100644
--- a/UVtools.WPF/Structures/AppVersionChecker.cs
+++ b/UVtools.WPF/Structures/AppVersionChecker.cs
@@ -249,7 +249,7 @@ public class AppVersionChecker : BindableBase
await stream.WriteLineAsync();
//await stream.WriteLineAsync($"cd '{App.ApplicationPath}'");
await stream.WriteLineAsync($"killall {About.Software}");
- await stream.WriteLineAsync($"ps -ef | grep '.*dotnet.*{About.Software}.dll' | grep -v grep | awk '{{print $2}}' | xargs -r kill");
+ await stream.WriteLineAsync($"ps -ef | grep '.*dotnet.*{About.Software}.dll' | grep -v grep | awk '{{print $2}}' | xargs kill");
await stream.WriteLineAsync("sleep 1");
await stream.WriteLineAsync();
@@ -265,7 +265,7 @@ public class AppVersionChecker : BindableBase
await stream.WriteLineAsync("else");
await stream.WriteLineAsync($" cp -fR '{extractDirectoryPath}/'* '{macOSAppPath}'");
await stream.WriteLineAsync("fi");
- //await stream.WriteLineAsync($"open '{macOSAppPath}'");
+ //await stream.WriteLineAsync($"open -n '{macOSAppPath}'");
}
else // Linux generic and macOS generic
{