Skip to content

Commit

Permalink
Merge 3945170 into bcfe030
Browse files Browse the repository at this point in the history
  • Loading branch information
awaescher authored Jul 17, 2023
2 parents bcfe030 + 3945170 commit dacbe91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StageManager/AutoStart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public static void SetStartup(string appName, bool startup)

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

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

0 comments on commit dacbe91

Please sign in to comment.