Hide updaters Command-Prompt
This commit is contained in:
parent
c000acf098
commit
25153e6998
2
ToDo.txt
2
ToDo.txt
|
@ -1,6 +1,6 @@
|
|||
More Icons for Apps
|
||||
More apps: Laptop Sim (when done)
|
||||
Use local info when building GUI (Except name/description)
|
||||
Decent updater and Installer (Do not open CMD)
|
||||
Decent app Installer (Do not open CMD)
|
||||
Save Images on disk to allow offline usage
|
||||
Test Updates
|
|
@ -95,7 +95,7 @@ namespace UpTool2
|
|||
}
|
||||
new XElement("meta", new XElement("Version", version)).Save(xml);
|
||||
splash.Hide();
|
||||
Process.Start(new ProcessStartInfo { FileName = "cmd.exe", Arguments = "/C echo Running Update & timeout /t 4 & copy /b/v/y \"" + dir + @"\update.exe" + "\" \"" + Application.ExecutablePath + "\" & echo Done Updating, please restart & pause" });
|
||||
Process.Start(new ProcessStartInfo { FileName = "cmd.exe", Arguments = "/C timeout /t 2 & copy /b/v/y \"" + dir + @"\update.exe" + "\" \"" + Application.ExecutablePath + "\" & \"" + Application.ExecutablePath + "\"", CreateNoWindow = true, WindowStyle = ProcessWindowStyle.Hidden });
|
||||
}
|
||||
else
|
||||
Application.Run(new MainForm());
|
||||
|
|
Reference in New Issue
Block a user