From d1c78bc7db706a62f5fd7a11cec173e30c0a9efb Mon Sep 17 00:00:00 2001 From: 404Kurama Date: Sun, 23 Apr 2023 22:40:39 +0700 Subject: [PATCH] feat(helper/updater): auto launch bloxstrap after update --- Bloxstrap/Helpers/Updater.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bloxstrap/Helpers/Updater.cs b/Bloxstrap/Helpers/Updater.cs index 8a6dae9..b80cf82 100644 --- a/Bloxstrap/Helpers/Updater.cs +++ b/Bloxstrap/Helpers/Updater.cs @@ -97,7 +97,7 @@ namespace Bloxstrap.Helpers /// file without closing it process. ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "cmd.exe"; - startInfo.Arguments = $"/c ping 127.0.0.1 -n 5 > nul && copy /y {downloadPath} {Directories.Application}"; + startInfo.Arguments = $"/c ping 127.0.0.1 -n 5 > nul && copy /y {downloadPath} {Directories.Application} && cls && echo Please restart Bloxstrap to complete update bootstrap. && {Directories.Application} -menu"; ///startInfo.WindowStyle = ProcessWindowStyle.Hidden; Process.Start(startInfo);