Further improvements for update handling. IO-408
This commit is contained in:
@@ -63,12 +63,20 @@ namespace BodyshopPartner.Utils
|
||||
{
|
||||
logger.Fatal("Unable to set exception for http port", Ex.ToString());
|
||||
}
|
||||
|
||||
Utils.UpdateHandler.ToggleStartWithWindows(true);
|
||||
mgr.CreateShortcutForThisExe();
|
||||
},
|
||||
onAppUpdate: v => mgr.CreateShortcutForThisExe(),
|
||||
onAppUpdate: v => {
|
||||
mgr.CreateShortcutForThisExe();
|
||||
Utils.UpdateHandler.ToggleStartWithWindows(Properties.Settings.Default.StartWithWindows);
|
||||
},
|
||||
onAppUninstall: v => mgr.RemoveShortcutForThisExe(),
|
||||
onFirstRun: () => { logger.Info("We've run for the first time."); });
|
||||
onFirstRun: () =>
|
||||
{
|
||||
logger.Info("We've run for the first time.");
|
||||
|
||||
Utils.UpdateHandler.ToggleStartWithWindows(true);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user