Terminal: support qterminal version detection

This commit is contained in:
李通洲 committed 2023-06-11 12:32:17 +08:00
1 parent f65a3d1e75
commit 662f081f49
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