Changed install directory for better package-manager compatibility.

This commit is contained in:
TheDarkBug 2021-03-07 17:15:42 +01:00
parent d05d45c750
commit 5d9f0c5880
2 changed files with 4 additions and 5 deletions

View file

@ -190,9 +190,8 @@ void print_ascii() { // prints logo (as ascii art) of the given system. distribu
}
}
void print_image() { // prints logo (as an image) of the given system. distributions listed alphabetically.
//printf("e[1;1H\e[2J");
char command[256];
sprintf(command, "viu -t -w 18 -h 8 $HOME/.config/uwufetch/%s.png", version_name);
sprintf(command, "viu -t -w 18 -h 8 /usr/lib/uwufetch/%s.png", version_name);
system(command);
if (strcmp(version_name, "arch") == 0) sprintf(version_name, "%s", "Nyarch Linuwu");