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) {