Загрузить файлы в «»

This commit is contained in:
8nlight 2023-08-06 11:12:45 +03:00
parent 875fade719
commit 72293603ac
3 changed files with 12 additions and 8 deletions

View File

@ -12,7 +12,7 @@ int main(void) {
//If art is less than buffer size //If art is less than buffer size
else if (i >= Logo.size) else if (i >= Logo.size)
for (size_t j = 0; j < strlen(Logo.art[0]); j++) for (size_t j = 0; j < strlen(Logo.art[Logo.size - 1]); j++)
printf(" "); printf(" ");

View File

@ -160,10 +160,10 @@ LOGO GetArt(void) {
LOGO art; LOGO art;
//Else //Else
art.size = sizeof(Debian) / sizeof(char *); art.size = sizeof(Unknow) / sizeof(char *);
art.pkg_cmd = NULL; art.pkg_cmd = NULL;
art.art = Debian; art.art = Unknow;
art.color = "\033[0;31m"; art.color = "\033[0;35m";
if (Os == NULL) if (Os == NULL)
return art; return art;

12
logos.h
View File

@ -4,7 +4,8 @@ char *Debian[] = {
"\033[31m| / | ", "\033[31m| / | ",
"\033[31m| \\___` ", "\033[31m| \\___` ",
"\033[31m -_ ", "\033[31m -_ ",
"\033[31m --_ " "\033[31m --_ ",
" "
}; };
char *Void[] = { char *Void[] = {
@ -13,7 +14,8 @@ char *Void[] = {
"\033[32m| /\\\033[36m\\ \\ | ", "\033[32m| /\\\033[36m\\ \\ | ",
"\033[32m| ( (\033[36m_) ) | ", "\033[32m| ( (\033[36m_) ) | ",
"\033[32m| \\_ \\\033[36m\\/ | ", "\033[32m| \\_ \\\033[36m\\/ | ",
"\033[32m \\______\\\033[36m\\_/ " "\033[32m \\______\\\033[36m\\_/ ",
" "
}; };
char *Alpine[] = { char *Alpine[] = {
@ -22,7 +24,8 @@ char *Alpine[] = {
"\033[34m / \\ \\ ", "\033[34m / \\ \\ ",
"\033[34m / \\ \\ ", "\033[34m / \\ \\ ",
"\033[34m/ \\ \\", "\033[34m/ \\ \\",
"\033[34m \\ " "\033[34m \\ ",
" "
}; };
char *Unknow[] = { char *Unknow[] = {
@ -32,5 +35,6 @@ char *Unknow[] = {
"\033[35m / \033[0m__\033[35m \\ ", "\033[35m / \033[0m__\033[35m \\ ",
"\033[35m ( \033[0m/ \\\033[35m /| ", "\033[35m ( \033[0m/ \\\033[35m /| ",
"\033[33m_\033[35m/ \033[0m\\__/\033[35m/_) ", "\033[33m_\033[35m/ \033[0m\\__/\033[35m/_) ",
"\033[33m\\/\033[35m-____\033[33m\\/ " "\033[33m\\/\033[35m-____\033[33m\\/ ",
" "
}; };