Check startup only for Release

This commit is contained in:
Jack251970 2025-04-24 19:49:03 +08:00
parent d01c67f433
commit 94ff72c8f2

View file

@ -201,6 +201,10 @@ namespace Flow.Launcher
#pragma warning restore VSTHRD100 // Avoid async void methods
/// <summary>
/// Check startup only for Release
/// </summary>
[Conditional("RELEASE")]
private void AutoStartup()
{
// we try to enable auto-startup on first launch, or reenable if it was removed