Fix windows terminal startup directory

This commit is contained in:
walterlv 2024-04-15 08:58:25 +08:00
parent 4a151dd19c
commit f58cff2cb6

View file

@ -161,6 +161,7 @@ namespace SourceGit.Native
} }
startInfo.FileName = FindWindowsTerminalApp(); startInfo.FileName = FindWindowsTerminalApp();
startInfo.Arguments = $"-d \"{workdir}\"";
break; break;
default: default:
App.RaiseException(workdir, $"Bad shell configuration!"); App.RaiseException(workdir, $"Bad shell configuration!");