From e1c63af06184d3993128da09373307566265e425 Mon Sep 17 00:00:00 2001 From: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sat, 17 Jun 2023 21:33:00 +0800 Subject: [PATCH] Add quotes surrounding auto startup entry (#2150) * Add quotes surrounding auto startup entry * Add quotes surrounding auto startup entry --- Flow.Launcher/Helper/AutoStartup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/Helper/AutoStartup.cs b/Flow.Launcher/Helper/AutoStartup.cs index 6a7aceb31..bf36b7f6f 100644 --- a/Flow.Launcher/Helper/AutoStartup.cs +++ b/Flow.Launcher/Helper/AutoStartup.cs @@ -47,7 +47,7 @@ namespace Flow.Launcher.Helper try { using var key = Registry.CurrentUser.OpenSubKey(StartupPath, true); - key?.SetValue(Constant.FlowLauncher, Constant.ExecutablePath); + key?.SetValue(Constant.FlowLauncher, $"\"{Constant.ExecutablePath}\""); } catch (Exception e) {