mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
OS: don't print msys2 logo for native Windows
This commit is contained in:
@@ -59,10 +59,11 @@ void ffDetectOSImpl(FFOSResult* os, const FFinstance* instance)
|
||||
ffStrbufClear(&os->variant);
|
||||
}
|
||||
|
||||
if(getenv("MSYSTEM"))
|
||||
#ifdef __MSYS__
|
||||
ffStrbufAppendS(&os->id, "MSYS2");
|
||||
else
|
||||
#else
|
||||
ffStrbufAppendF(&os->id, "Windows %*s", os->version.length, os->version.chars);
|
||||
#endif
|
||||
|
||||
ffGetWmiObjString(pclsObj, L"BuildNumber", &os->buildID);
|
||||
ffGetWmiObjString(pclsObj, L"OSArchitecture", &os->architecture);
|
||||
|
||||
Reference in New Issue
Block a user