Merge pull request #58 from em1lyy/main

add support for openSUSE Tumbleweed
This commit is contained in:
TheDarkBug 2021-04-01 00:03:22 +02:00 committed by GitHub
commit a21fcd0b2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -352,7 +352,7 @@ void print_ascii() { // prints logo (as ascii art) of the given system. distribu
" %s|| %s| %s| | %s|\n" " %s|| %s| %s| | %s|\n"
" %s | %s| %s---- %s|\n" " %s | %s| %s---- %s|\n"
" %s --%s'--------'\n\n",GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN); " %s --%s'--------'\n\n",GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN, WHITE, GREEN);
} else if (strcmp(version_name, "\"opensuse-leap\"") == 0) { } else if (strcmp(version_name, "\"opensuse-leap\"") == 0 || strcmp(version_name, "\"opensuse-tumbleweed\"") == 0) {
printf("\033[3E\033[3C%s|\\----/|\n" printf("\033[3E\033[3C%s|\\----/|\n"
" _ / %sO O%s\\\n" " _ / %sO O%s\\\n"
" __. W /\n" " __. W /\n"
@ -474,7 +474,8 @@ void uwu_name() { // changes distro name to uwufied(?) name
else STRING_TO_UWU("\"manjaro-arm\"", "Myanjawo AWM"); else STRING_TO_UWU("\"manjaro-arm\"", "Myanjawo AWM");
else STRING_TO_UWU("neon", "KDE NeOwOn"); else STRING_TO_UWU("neon", "KDE NeOwOn");
else STRING_TO_UWU("nixos", "nixOwOs"); else STRING_TO_UWU("nixos", "nixOwOs");
else STRING_TO_UWU("\"opensuse-leap\"", "OwOpenSUSE"); else STRING_TO_UWU("\"opensuse-leap\"", "OwOpenSUSE Leap");
else STRING_TO_UWU("\"opensuse-tumbleweed\"", "OwOpenSUSE Tumbleweed");
else STRING_TO_UWU("pop", "PopOwOS"); else STRING_TO_UWU("pop", "PopOwOS");
else STRING_TO_UWU("raspbian", "RaspNyan"); else STRING_TO_UWU("raspbian", "RaspNyan");
else STRING_TO_UWU("slackware", "Swackwawe"); else STRING_TO_UWU("slackware", "Swackwawe");