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 Icons for Apps
|
||||||
More apps: Laptop Sim (when done)
|
More apps: Laptop Sim (when done)
|
||||||
Use local info when building GUI (Except name/description)
|
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
|
Save Images on disk to allow offline usage
|
||||||
Test Updates
|
Test Updates
|
|
@ -95,7 +95,7 @@ namespace UpTool2
|
||||||
}
|
}
|
||||||
new XElement("meta", new XElement("Version", version)).Save(xml);
|
new XElement("meta", new XElement("Version", version)).Save(xml);
|
||||||
splash.Hide();
|
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
|
else
|
||||||
Application.Run(new MainForm());
|
Application.Run(new MainForm());
|
||||||
|
|
Reference in New Issue
Block a user