Merge pull request #21 from prettykool/main

nyandroid icon + updated README + standard GPL 3.0 boilerplate gobbledygook
This commit is contained in:
TheDarkBug 2021-03-09 08:57:54 +01:00 committed by GitHub
commit 07d2f287d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 6 deletions

View file

@ -1,20 +1,20 @@
# UwUFetch # UwUFetch
A meme system info tool for Linux, based on nyan/UwU trend on r/linuxmasterrace. A meme system info tool for (almost) all your Linux/Unix-based systems, based on nyan/UwU trend on r/linuxmasterrace.
## Currently supported distros ## Currently supported distros
Nyarch Linuwu, Nyartix Linuwu, Debinyan, Fedowa, GentOwO, Myanjawo. Nyarch Linuwu, Nyartix Linuwu, Debinyan, Fedowa, GentOwO, Myanjawo, and UwUntu; Plus Nyandroid; and FweeBSD, and OwOpenBSD.
## Building and installation ## Building and installation
##### Via package manager ##### Via package manager
Right now the package is only available on the [AUR](https://aur.archlinux.org/packages/uwufetch-git/). Right now, the package is only available on the [AUR](https://aur.archlinux.org/packages/uwufetch-git/).
##### Via git clone ##### Via source
To install you can type this commands in the terminal: To install UwUfetch from the source, type these commands in the terminal:
```shell ```shell
git clone https://github.com/TheDarkBug/uwufetch.git git clone https://github.com/TheDarkBug/uwufetch.git

View file

@ -1,3 +1,18 @@
/*
* UwUfetch is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <dirent.h> #include <dirent.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -243,7 +258,11 @@ void print_ascii() { // prints logo (as ascii art) of the given system. distribu
" %sC_/ %sO\n\n\n", PINK, LPINK, PINK, LPINK, PINK, LPINK); " %sC_/ %sO\n\n\n", PINK, LPINK, PINK, LPINK, PINK, LPINK);
} else if (strcmp(version_name, "android") == 0) { // android at the end because it could be not considered as an actual distribution of gnu/linux } else if (strcmp(version_name, "android") == 0) { // android at the end because it could be not considered as an actual distribution of gnu/linux
sprintf(version_name, "%s", "Nyandroid"); sprintf(version_name, "%s", "Nyandroid");
printf( "\n\n\nascii icon\n nedds to be\n added\n\n\n\n\n"); printf( "%s \n\\ _------_ /\n"
" / \\\n"
"| %s~ %s> w < %s~ %s|\n"
" ------------\n", GREEN, RED, GREEN, RED, GREEN);
} }
// BSD // BSD