Skip to content

Commit 9bb539e

Browse files
committed
Added support for Redrose.
1 parent b4e6688 commit 9bb539e

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

src/detection/os/os_linux.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,5 +345,9 @@ void ffDetectOSImpl(FFOSResult* os) {
345345
ffStrbufSetS(&os->idLike, "linuxmint");
346346
}
347347
}
348+
else if(ffStrbufEqualS(&os->id, "redrose"))
349+
{
350+
ffStrbufSetStatic(&os->idLike, "redrose");
351+
}
348352
#endif
349-
}
353+
}

src/logo/ascii/redrose.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
$1xxrjr ftttt
2+
$1xxxxxjjfffft
3+
$1xxxxxxxjjjjj
4+
$1xxxxxxxjjjjj
5+
$1xxxxxxxxxnxx
6+
$1xxxxxxxn
7+
$2[[
8+
$2//// $2[[
9+
$2//// $2[[
10+
$2///////[[
11+
$2/////]]
12+
$2[[
13+
$2[[
14+
$2[[
15+
$2[[
16+
$2[[
17+
$2[]

src/logo/builtin.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4232,6 +4232,17 @@ static const FFlogo R[] = {
42324232
.colorKeys = FF_COLOR_FG_RED,
42334233
.colorTitle = FF_COLOR_FG_RED,
42344234
},
4235+
// Redrose Linux
4236+
{
4237+
.names = {"redrose"},
4238+
.lines = FASTFETCH_DATATEXT_LOGO_REDROSE,
4239+
.colors = {
4240+
FF_COLOR_FG_RED,
4241+
FF_COLOR_FG_GREEN,
4242+
},
4243+
.colorKeys = FF_COLOR_FG_RED,
4244+
.colorTitle = FF_COLOR_FG_RED,
4245+
},
42354246
// Refracta
42364247
{
42374248
.names = {"Refracta"},

0 commit comments

Comments
 (0)