Skip to content

Commit f245492

Browse files
committed
TerminalShell: fix shell detection when installed with scoop
1 parent 6f92524 commit f245492

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/detection/terminalshell/terminalshell_windows.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ static uint32_t getShellInfo(FFTerminalShellResult* result, uint32_t pid)
120120
ffStrbufIgnCaseEqualS(&result->shellPrettyName, "gdb") ||
121121
ffStrbufIgnCaseEqualS(&result->shellPrettyName, "lldb") ||
122122
ffStrbufIgnCaseEqualS(&result->shellPrettyName, "guake-wrapped") ||
123+
ffStrbufIgnCaseEqualS(&result->shellPrettyName, "fastfetch") || //scoop warps the real binaries with a "shim" exe
124+
ffStrbufIgnCaseEqualS(&result->shellPrettyName, "flashfetch") ||
123125
ffStrbufContainIgnCaseS(&result->shellPrettyName, "debug")
124126
) {
125127
ffStrbufClear(&result->shellProcessName);

0 commit comments

Comments
 (0)