Skip to content

Commit dacbe91

Browse files
authored
Merge 3945170 into bcfe030
2 parents bcfe030 + 3945170 commit dacbe91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StageManager/AutoStart.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ public static void SetStartup(string appName, bool startup)
2424

2525
private static string GetValueAsString(RegistryKey key, string appName) => key.GetValue(appName)?.ToString() ?? "";
2626

27-
private static string GetAppPath() => $"\"{Assembly.GetEntryAssembly().Location}\"";
27+
private static string GetAppPath() => $@"""{Environment.ProcessPath}""";
2828
}
2929
}

0 commit comments

Comments
 (0)