Icons (Windows): hides module when no icons are found

Fixes #2023
This commit is contained in:
李通洲
2025-10-24 14:45:24 +08:00
parent db623b9c86
commit 758f96de60
+3
View File
@@ -16,6 +16,9 @@ const char* ffDetectIcons(FFIconsResult* result)
ffRegReadUint(hKey, L"{645FF040-5081-101B-9F08-00AA002F954E}", &RecycleBin, NULL);
ffRegReadUint(hKey, L"{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}", &ControlPanel, NULL);
if (ThisPC && UsersFiles && RemoteNetwork && RecycleBin && ControlPanel)
return "All icons are hidden";
if (!ThisPC)
ffStrbufAppendS(&result->icons1, "This PC, ");
if (!UsersFiles)