mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Terminal (Linux): don't assume blackbox is build for flatpak
This commit is contained in:
@@ -365,8 +365,8 @@ FF_MAYBE_UNUSED static bool getTerminalVersionBlackbox(FFstrbuf* exe, FFstrbuf*
|
||||
})) return false;
|
||||
|
||||
//BlackBox version 0.14.0 (flatpak)
|
||||
ffStrbufSubstrBeforeLastC(version, ' ');
|
||||
ffStrbufSubstrAfterLastC(version, ' ');
|
||||
ffStrbufSubstrAfterFirstS(version, "version ");
|
||||
ffStrbufSubstrBeforeFirstC(version, ' ');
|
||||
return version->length > 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user