OS (Linux): add support of Xubuntu

Fix #1825
This commit is contained in:
李通洲
2025-07-02 09:40:48 +08:00
parent 18a6929662
commit 2e5769def2
3 changed files with 37 additions and 0 deletions
+9
View File
@@ -170,6 +170,15 @@ FF_MAYBE_UNUSED static void getUbuntuFlavour(FFOSResult* result)
return;
}
if(ffStrContains(xdgConfigDirs, "xubuntu"))
{
ffStrbufSetStatic(&result->name, "Xubuntu");
ffStrbufSetF(&result->prettyName, "Xubuntu %s", result->version.chars);
ffStrbufSetStatic(&result->id, "xubuntu");
ffStrbufSetStatic(&result->idLike, "ubuntu");
return;
}
if(ffStrContains(xdgConfigDirs, "lliurex"))
{
ffStrbufSetStatic(&result->name, "LliureX");
+19
View File
@@ -0,0 +1,19 @@
__ygg@@@@@@@@@ggy__
_yg@@@@@@@@@@@@@@@@@@@@@gy_
_a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@y_
_a@@@@@@@@@@@@@@@@@@@@@@@$2#$1@@@@@@@@@g_
a@@@@@@@@@@@@@$2###$1@@@@@@@@$2##$1@@@@$2##$1@@@@@k
g@@@@@@@$2###$1@@@$2#####$1@@@@@@@$2##$1@@$2###$1@@@@@@@k
a@@@@@@@@$2#####$1@$2#####$1@@@@@@$2##$1@@$2###$1@@@@@@@@@k
j@@@@@@@@@$2############$1@@@@@$2##$1@$2###$1@@@@@@@@@@@k
g@@@@@@@@@$2#####################$1@@@@@@@@@@@@@@
@@@@@@@@@$2##########################$1@@@@@@@@@@
0@@@@@@@@$2###########################$1@@@@@@@@@
~@@@@@@@$2############################$1@@@@@@@@F
9@@@@@@$2##########################$1@@@@@@@@@P
4@@@@@@$2######################$1@@@@@@@@@@@P
~@@@@@@$2################$1@@@@@@@@@@@@@@@F
`4@@@@@@$2#######$1@@@@@@@@@@@@@@@@@@@@P`
`~@@@@@@@@@@@@@@@@@@@@@@@@@@@@@F`
~~4@@@@@@@@@@@@@@@@@@@@@P~~
`~~=R@@@@@@@@@P=~~~
+9
View File
@@ -5380,6 +5380,15 @@ static const FFlogo X[] = {
FF_COLOR_FG_CYAN,
},
},
// Xubuntu
{
.names = {"Xubuntu"},
.lines = FASTFETCH_DATATEXT_LOGO_XUBUNTU,
.colors = {
FF_COLOR_FG_256 "25",
FF_COLOR_FG_DEFAULT,
},
},
// LAST
{},
};