TerminalShell: support deepin-terminal version detection

This commit is contained in:
李通洲
2023-01-11 18:12:36 +08:00
parent 6ca3b76a42
commit cd0b74b0de
@@ -206,6 +206,9 @@ bool fftsGetTerminalVersion(FFstrbuf* processName, FF_MAYBE_UNUSED FFstrbuf* exe
if(ffStrbufIgnCaseEqualS(processName, "xfce4-terminal"))
return getExeVersionGeneral(exe, version);//xfce4-terminal 1.0.4 (Xfce 4.18)...
if(ffStrbufIgnCaseEqualS(processName, "deepin-terminal"))
return getExeVersionGeneral(exe, version);//deepin-terminal 5.4.36
#endif
#ifndef _WIN32