DE (Linux): tag gnome-shell --version a slow operation

This commit is contained in:
李通洲
2024-04-17 20:58:49 +08:00
parent 2862f466f3
commit 6851c9cc1a
+1 -1
View File
@@ -56,7 +56,7 @@ static void getGnome(FFstrbuf* result, FF_MAYBE_UNUSED FFDEOptions* options)
{
getGnomeBySo(result);
if (result->length == 0)
if (result->length == 0 && options->slowVersionDetection)
{
if (ffProcessAppendStdOut(result, (char* const[]){
"gnome-shell",