From 798efc079fcc171ab0d47803522556251e71be43 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 12 Mar 2025 23:24:39 +0800 Subject: [PATCH] Fix formats --- Flow.Launcher.Core/Updater.cs | 2 -- Flow.Launcher.Infrastructure/UserSettings/Settings.cs | 2 +- Flow.Launcher/App.xaml.cs | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Flow.Launcher.Core/Updater.cs b/Flow.Launcher.Core/Updater.cs index 86e2a5197..258a5951d 100644 --- a/Flow.Launcher.Core/Updater.cs +++ b/Flow.Launcher.Core/Updater.cs @@ -43,7 +43,6 @@ namespace Flow.Launcher.Core public async Task UpdateAppAsync(bool silentUpdate = true) { await UpdateLock.WaitAsync().ConfigureAwait(false); - try { if (!silentUpdate) @@ -144,7 +143,6 @@ namespace Flow.Launcher.Core { Proxy = Http.WebProxy }; - var downloader = new FileDownloader(client); var manager = new UpdateManager(latestUrl, urlDownloader: downloader); diff --git a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs index a44570ccb..415ab7684 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/Settings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/Settings.cs @@ -110,7 +110,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings public double SettingWindowHeight { get; set; } = 700; public double? SettingWindowTop { get; set; } = null; public double? SettingWindowLeft { get; set; } = null; - public System.Windows.WindowState SettingWindowState { get; set; } = WindowState.Normal; + public WindowState SettingWindowState { get; set; } = WindowState.Normal; public bool PrereleaseUpdateSource { get; set; } diff --git a/Flow.Launcher/App.xaml.cs b/Flow.Launcher/App.xaml.cs index c862bfde4..058a00662 100644 --- a/Flow.Launcher/App.xaml.cs +++ b/Flow.Launcher/App.xaml.cs @@ -121,7 +121,7 @@ namespace Flow.Launcher RegisterAppDomainExceptions(); RegisterDispatcherUnhandledException(); - + var imageLoadertask = ImageLoader.InitializeAsync(); AbstractPluginEnvironment.PreStartPluginExecutablePathUpdate(_settings);