From 7cc32f3021549c39eb0943a8c1cc7c6908885f71 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Wed, 26 Feb 2025 15:40:18 +0800 Subject: [PATCH] Fix build issue --- Flow.Launcher/App.xaml.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher/App.xaml.cs b/Flow.Launcher/App.xaml.cs index 277e5dc0c..447eca792 100644 --- a/Flow.Launcher/App.xaml.cs +++ b/Flow.Launcher/App.xaml.cs @@ -165,17 +165,17 @@ namespace Flow.Launcher { // we try to enable auto-startup on first launch, or reenable if it was removed // but the user still has the setting set - if (_settings.StartFlowLauncherOnSystemStartup && !Infrastructure.AutoStartup.IsEnabled) + if (_settings.StartFlowLauncherOnSystemStartup && !Helper.AutoStartup.IsEnabled) { try { if (_settings.UseLogonTaskForStartup) { - Infrastructure.AutoStartup.EnableViaLogonTask(); + Helper.AutoStartup.EnableViaLogonTask(); } else { - Infrastructure.AutoStartup.EnableViaRegistry(); + Helper.AutoStartup.EnableViaRegistry(); } } catch (Exception e)