mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
fix: pwsh (PowerShell) typo
This commit is contained in:
@@ -149,7 +149,7 @@ namespace SourceGit.Native
|
||||
break;
|
||||
case Models.Shell.PowerShell:
|
||||
startInfo.FileName = ChoosePowerShell();
|
||||
startInfo.Arguments = startInfo.FileName.EndsWith("pswd.exe") ? $"-WorkingDirectory \"{workdir}\" -Nologo" : "-Nologo";
|
||||
startInfo.Arguments = startInfo.FileName.EndsWith("pwsh.exe") ? $"-WorkingDirectory \"{workdir}\" -Nologo" : "-Nologo";
|
||||
break;
|
||||
case Models.Shell.CommandPrompt:
|
||||
startInfo.FileName = "cmd";
|
||||
|
||||
Reference in New Issue
Block a user