We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c24ac commit 1073061Copy full SHA for 1073061
Flow.Launcher/Helper/AutoStartup.cs
@@ -126,12 +126,14 @@ public static void DisableViaLogonTaskAndRegistry()
126
public static void ChangeToViaLogonTask(bool alwaysRunAsAdministrator)
127
{
128
Disable(false);
129
+ Disable(true); // Remove old logon task so that we can create a new one
130
Enable(true, alwaysRunAsAdministrator);
131
}
132
133
public static void ChangeToViaRegistry()
134
135
Disable(true);
136
+ Disable(false); // Remove old registry so that we can create a new one
137
// We do not need to use alwaysRunAsAdministrator for registry, so we just set false here
138
Enable(false, false);
139
0 commit comments