Logo (Builtin): detect and add TrueNAS Scale

This commit is contained in:
李通洲
2025-06-10 10:21:34 +08:00
parent c9adab3892
commit f3e8e8af52
3 changed files with 39 additions and 0 deletions
+9
View File
@@ -240,6 +240,15 @@ FF_MAYBE_UNUSED static bool detectDebianDerived(FFOSResult* result)
ffStrbufSetS(&result->prettyName, "Raspberry Pi OS");
return true;
}
else if (ffStrbufEndsWithS(&instance.state.platform.sysinfo.release, "+truenas"))
{
// TrueNAS Scale
ffStrbufSetS(&result->id, "truenas-scale");
ffStrbufSetS(&result->idLike, "debian");
ffStrbufSetS(&result->name, "TrueNAS Scale");
ffStrbufSetS(&result->prettyName, "TrueNAS Scale");
return true;
}
else
{
// Hack for MX Linux. See #847
+18
View File
@@ -0,0 +1,18 @@
++ $2++
$1++++++ $2++++++
$1+++++++++ $2+++++++++
$1+++++++ $2+++++++
$1+++ $2+++ $1+ $3--------$1 $2+ $1+++ $2+++
$1++++++ $2++++++ $3------$1 ++++++ $2++++++
$1++++++++ $2++++++++++ $1++++++++++ $2++++++++
$1+++++++ $3--$1 $2+++++++ $1+++++++ $3--$1 $2+++++++
$2+++ $1+ $3--------$1 $2+ $1+++ $2+++ $1+ $3--------$1 $2+ $1+++
$2++++++ $3--------$1 ++++++ $2++++++ $3--------$1 ++++++
$2++++++++++ $1+++++++++ $2+++++++++ $1++++++++++
$2+++++++++ $1+++++++ $3--$1 $2+++++++ $1+++++++++
$2+++++ +++ $3--------$1 +++ +++++
$2++ +++++++ $3------$1 +++++++ ++
$2++++++++++ $1++++++++++
$2++++++++ $1++++++++
$2+++++ $1+++++
$2++ $1++
+12
View File
@@ -4739,6 +4739,18 @@ static const FFlogo T[] = {
FF_COLOR_FG_CYAN,
},
},
// TrueNAS Scale
{
.names = {"TrueNAS-Scale"},
.lines = FASTFETCH_DATATEXT_LOGO_TRUENAS_SCALE,
.colors = {
FF_COLOR_FG_256 "39",
FF_COLOR_FG_256 "32",
FF_COLOR_FG_256 "248",
},
.colorKeys = FF_COLOR_FG_256 "248",
.colorTitle = FF_COLOR_FG_256 "32",
},
// TuxedoOS
{
.names = {"Tuxedo OS", "tuxedo"},