Terminal: support qterminal version detection

This commit is contained in:
李通洲 authored and 李通洲 committed 2023-07-02 10:20:24 +08:00
1 parent 6ba95d7017
commit d23831465a
1 file changed
+3
@@ -258,6 +258,9 @@ bool fftsGetTerminalVersion(FFstrbuf* processName, FF_MAYBE_UNUSED FFstrbuf* exe
if(ffStrbufIgnCaseEqualS(processName, "foot"))
return getTerminalVersionFoot(exe, version);
if(ffStrbufIgnCaseEqualS(processName, "qterminal"))
return getExeVersionRaw(exe, version); //1.2.0
#endif
#ifdef _WIN32