From 70f780f50b5d57df6e2a4dbb66ae20acfa610c25 Mon Sep 17 00:00:00 2001 From: Victor Tran Date: Mon, 27 May 2024 17:05:30 +1000 Subject: [PATCH] Update path to PowerShell --- .../com/vicr123/theterminal/libtheterminal/terminalprofile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtheterminal/com/vicr123/theterminal/libtheterminal/terminalprofile.cpp b/libtheterminal/com/vicr123/theterminal/libtheterminal/terminalprofile.cpp index 2fe57a3..09a3624 100644 --- a/libtheterminal/com/vicr123/theterminal/libtheterminal/terminalprofile.cpp +++ b/libtheterminal/com/vicr123/theterminal/libtheterminal/terminalprofile.cpp @@ -183,7 +183,7 @@ void TerminalProfile::loadProfile() { #ifndef Q_OS_MAC QString TerminalProfile::defaultShell() { #ifdef Q_OS_WIN - return QStringLiteral("C:/Windows/System32/powershell.exe"); + return QStringLiteral("C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"); #else auto passwd = getpwuid(getegid()); return QString(passwd->pw_shell);