Skip to content

Commit

Permalink
TerminalShell (Linux): improve perf of yakuake version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Sep 20, 2024
1 parent 1dba6d1 commit 85a31c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detection/terminalshell/terminalshell.c
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ bool fftsGetTerminalVersion(FFstrbuf* processName, FF_MAYBE_UNUSED FFstrbuf* exe
return getTerminalVersionKonsole(exe, version);

if(ffStrbufIgnCaseEqualS(processName, "yakuake"))
return getExeVersionGeneral(exe, version);//yakuake 22.12.3
return getTerminalVersionKonsole(exe, version); // yakuake shares code with konsole

if(ffStrbufIgnCaseEqualS(processName, "xfce4-terminal"))
return getTerminalVersionXfce4Terminal(exe, version);
Expand Down

0 comments on commit 85a31c7

Please sign in to comment.