This commit is contained in:
bao-qian
2016-05-18 19:35:34 +01:00
parent c42892ee35
commit cddfd1b319
3 changed files with 36 additions and 19 deletions

View File

@@ -58,12 +58,24 @@ namespace Wox
RegisterExitEvents();
AutoStartup();
AutoUpdates();
window.Show();
});
}
private void AutoStartup()
{
if (_settings.StartWoxOnSystemStartup)
{
if (!SettingWindow.StartupSet())
{
SettingWindow.SetStartup();
}
}
}
private void AutoUpdates()
{
if (_settings.AutoUpdates)