fixed arch

This commit is contained in:
Your Name 2024-01-03 17:08:38 +03:00
parent 669b76b606
commit 889e6293fd
2 changed files with 10 additions and 10 deletions

View File

@ -35,15 +35,15 @@ char *Alpine[] = {
};
char *Arch[] = {
" ",
"\033[1;34m /\\ ",
"\033[1;34m / \\ ",
"\033[1;34m /\\ \\ ",
"\033[1;34m / \\ ",
"\033[1;37m / ,, \\ ",
"\033[1;37m / | | -\\ ",
"\033[1;37m/_-'' ''-_\\ ",
" "
" ",
"\033[1;34m /\\ ",
"\033[1;34m / \\ ",
"\033[1;34m /\\ \\ ",
"\033[1;34m / \\ ",
"\033[1;37m / ,, \\ ",
"\033[1;37m / | | -\\ ",
"\033[1;37m/_-'' ''-_\\ ",
" "
};
char *Android[] = {

View File

@ -86,7 +86,7 @@ void GetArt(FETCH *fetch, int flag) {
else if (strstr(fetch->os_name, "Ubuntu"))
SetArt(fetch, sizeof(Ubuntu), "dpkg -l | tail -n+6 | wc -l | tr -d ' '", Ubuntu, "\033[1;33m", flag);
else if (!chdir("/system"))
else if (!chdir("/system") && !strcmp(fetch->os_name, "Linux"))
SetArt(fetch, sizeof(Android), "dpkg -l | tail -n+6 | wc -l | tr -d ' '", Android, "\033[32m", flag);
else