mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:52:08 +02:00
Logo: load .raw files as raw image file
This commit is contained in:
@@ -651,6 +651,12 @@ void ffLogoPrint(void)
|
||||
//Make sure the logo path is set correctly.
|
||||
updateLogoPath();
|
||||
|
||||
if (ffStrbufEndsWithIgnCaseS(&options->source, ".raw"))
|
||||
{
|
||||
if(logoPrintFileIfExists(false, true))
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ffStrbufEndsWithIgnCaseS(&options->source, ".txt"))
|
||||
{
|
||||
const FFTerminalResult* terminal = ffDetectTerminal();
|
||||
|
||||
Reference in New Issue
Block a user