mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Settings - Fixed start minimized not enabled
Wizard - Fixed start minimized not enabled Wizard - Removed unintended black lines Wizard - Change step description so it fits
This commit is contained in:
1 parent
52809a6c9a
commit
34bcfccb4c
3 files changed
+10
-2
No files matched your search
@@ -108,6 +108,7 @@ namespace Artemis.UI.Screens.Settings.Tabs.General
|
||||
{
|
||||
_settingsService.GetSetting("UI.AutoRun", false).Value = value;
|
||||
_settingsService.GetSetting("UI.AutoRun", false).Save();
|
||||
NotifyOfPropertyChange(nameof(StartWithWindows));
|
||||
Task.Run(ApplyAutorun);
|
||||
}
|
||||
}
|
||||
@@ -119,6 +120,7 @@ namespace Artemis.UI.Screens.Settings.Tabs.General
|
||||
{
|
||||
_settingsService.GetSetting("UI.ShowOnStartup", true).Value = !value;
|
||||
_settingsService.GetSetting("UI.ShowOnStartup", true).Save();
|
||||
NotifyOfPropertyChange(nameof(StartMinimized));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -245,6 +247,8 @@ namespace Artemis.UI.Screens.Settings.Tabs.General
|
||||
File.Delete(autoRunFile);
|
||||
if (StartWithWindows)
|
||||
ShortcutUtilities.Create(autoRunFile, executableFile, "--autorun", new FileInfo(executableFile).DirectoryName, "Artemis", "", "");
|
||||
else
|
||||
StartMinimized = false;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user