Skip to content

Commit 3a8cd8c

Browse files
authored
save setting after startup (#594)
* save setting after startup * Revert "save setting after startup" This reverts commit bb9c7a1. * Update App.xaml.cs Save Setting After Startup
1 parent 19aa45d commit 3a8cd8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Flow.Launcher/App.xaml.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ await Stopwatch.NormalAsync("|App.OnStartup|Startup cost", async () =>
7575

7676
Http.API = API;
7777
Http.Proxy = _settings.Proxy;
78-
78+
7979
await PluginManager.InitializePlugins(API);
8080
var window = new MainWindow(_settings, _mainVM);
8181

@@ -99,6 +99,8 @@ await Stopwatch.NormalAsync("|App.OnStartup|Startup cost", async () =>
9999
AutoStartup();
100100
AutoUpdates();
101101

102+
API.SaveAppAllSettings();
103+
102104
_mainVM.MainWindowVisibility = _settings.HideOnStartup ? Visibility.Hidden : Visibility.Visible;
103105
Log.Info("|App.OnStartup|End Flow Launcher startup ---------------------------------------------------- ");
104106
});

0 commit comments

Comments
 (0)