mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
feat(helper/updater): nvm
This commit is contained in:
parent
6930e008f2
commit
d84e23ac12
@ -97,7 +97,7 @@ namespace Bloxstrap.Helpers
|
|||||||
/// file without closing it process.
|
/// file without closing it process.
|
||||||
ProcessStartInfo startInfo = new ProcessStartInfo();
|
ProcessStartInfo startInfo = new ProcessStartInfo();
|
||||||
startInfo.FileName = "cmd.exe";
|
startInfo.FileName = "cmd.exe";
|
||||||
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.Arguments = $"/c ping 127.0.0.1 -n 5 > nul && copy /y {downloadPath} {Directories.Application}";
|
||||||
///startInfo.WindowStyle = ProcessWindowStyle.Hidden;
|
///startInfo.WindowStyle = ProcessWindowStyle.Hidden;
|
||||||
|
|
||||||
Process.Start(startInfo);
|
Process.Start(startInfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user