mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-29 20:34:05 +02:00
Add Cef.Shutdown before running the updater
This commit is contained in:
parent
2ef4f28740
commit
0cb3bd9cc6
@ -95,6 +95,8 @@ private static void Main(){
|
|||||||
Application.Run(mainForm);
|
Application.Run(mainForm);
|
||||||
|
|
||||||
if (mainForm.UpdateInstallerPath != null){
|
if (mainForm.UpdateInstallerPath != null){
|
||||||
|
Cef.Shutdown();
|
||||||
|
|
||||||
Process.Start(mainForm.UpdateInstallerPath,"/SP- /SILENT /NOICONS /CLOSEAPPLICATIONS");
|
Process.Start(mainForm.UpdateInstallerPath,"/SP- /SILENT /NOICONS /CLOSEAPPLICATIONS");
|
||||||
Application.Exit();
|
Application.Exit();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user