refactor: using custom PATH instead of reading it from zsh (#581)

* run `echo $PATH > ~/Library/Application\ Support/SourceGit/PATH` to generate to custom PATH file for SourceGit
This commit is contained in:
leo 2024-10-21 15:31:13 +08:00
parent 188bf02349
commit 67b6a6d9d5
No known key found for this signature in database
4 changed files with 9 additions and 25 deletions

View file

@ -26,6 +26,7 @@ namespace SourceGit.Native
public static string GitExecutable { get; set; } = string.Empty;
public static string ShellOrTerminal { get; set; } = string.Empty;
public static List<Models.ExternalTool> ExternalTools { get; set; } = [];
public static string CustomPathEnv { get; set; } = string.Empty;
static OS()
{