Merge pull request #73 from walterlv/master

Fix windows terminal startup directory
This commit is contained in:
leo 2024-04-15 09:10:54 +08:00 committed by GitHub
commit 3c7c5557be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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!");