Skip to content

Commit e1c63af

Browse files
Add quotes surrounding auto startup entry (#2150)
* Add quotes surrounding auto startup entry * Add quotes surrounding auto startup entry
1 parent 0d7dbe2 commit e1c63af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/Helper/AutoStartup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ internal static void Enable()
4747
try
4848
{
4949
using var key = Registry.CurrentUser.OpenSubKey(StartupPath, true);
50-
key?.SetValue(Constant.FlowLauncher, Constant.ExecutablePath);
50+
key?.SetValue(Constant.FlowLauncher, $"\"{Constant.ExecutablePath}\"");
5151
}
5252
catch (Exception e)
5353
{

0 commit comments

Comments
 (0)