UI tweaks

This commit is contained in:
Serge
2023-05-16 15:19:53 +02:00
parent 4dd7d41cf4
commit bdbec79aba
7 changed files with 10 additions and 8 deletions

View File

@@ -359,7 +359,7 @@ namespace GHelper
cmd.StartInfo.UseShellExecute = false;
cmd.StartInfo.CreateNoWindow = true;
cmd.StartInfo.FileName = "powershell";
cmd.StartInfo.Arguments = $"Start-Sleep -Seconds 1; Expand-Archive {zipLocation} -DestinationPath {exeDir} -Force; {exeLocation}";
cmd.StartInfo.Arguments = $"Start-Sleep -Seconds 1; Expand-Archive {zipLocation} -DestinationPath {exeDir} -Force; Remove-Item {zipLocation} -Force; {exeLocation}";
cmd.Start();
Debug.WriteLine(requestUri);