From 989e359a5a03df67f5a3b6eba72da6ccff37ae85 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 24 Jun 2024 19:15:26 +0800 Subject: [PATCH] fix: pwsh (PowerShell) typo --- src/Native/Windows.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Native/Windows.cs b/src/Native/Windows.cs index b0649189..bdf4d74c 100644 --- a/src/Native/Windows.cs +++ b/src/Native/Windows.cs @@ -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";