Improve code quality

This commit is contained in:
Jack251970 2025-07-14 15:35:23 +08:00
parent 42b2fd17a9
commit 79f81a6274

View file

@ -251,7 +251,7 @@ namespace Flow.Launcher
/// Check startup only for Release /// Check startup only for Release
/// </summary> /// </summary>
[Conditional("RELEASE")] [Conditional("RELEASE")]
private void AutoStartup() private static void AutoStartup()
{ {
// we try to enable auto-startup on first launch, or reenable if it was removed // we try to enable auto-startup on first launch, or reenable if it was removed
// but the user still has the setting set // but the user still has the setting set
@ -272,7 +272,7 @@ namespace Flow.Launcher
} }
[Conditional("RELEASE")] [Conditional("RELEASE")]
private void AutoUpdates() private static void AutoUpdates()
{ {
_ = Task.Run(async () => _ = Task.Run(async () =>
{ {