From 94ff72c8f27d48201bc195ef32bdf801ddeb4d13 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 24 Apr 2025 19:49:03 +0800 Subject: [PATCH] Check startup only for Release --- Flow.Launcher/App.xaml.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Flow.Launcher/App.xaml.cs b/Flow.Launcher/App.xaml.cs index 6a7b892be..ba0f4e5ed 100644 --- a/Flow.Launcher/App.xaml.cs +++ b/Flow.Launcher/App.xaml.cs @@ -201,6 +201,10 @@ namespace Flow.Launcher #pragma warning restore VSTHRD100 // Avoid async void methods + /// + /// Check startup only for Release + /// + [Conditional("RELEASE")] private void AutoStartup() { // we try to enable auto-startup on first launch, or reenable if it was removed