From e1afaa3b9978b055231c046640bef988bbe8c70e Mon Sep 17 00:00:00 2001 From: Adriano Oliviero Date: Mon, 3 May 2021 03:59:38 -0700 Subject: [PATCH] Illegal hardware instruction on mac os was fixed, but the package function is still not working --- uwufetch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/uwufetch.c b/uwufetch.c index 0d54290..d79d087 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -262,8 +262,9 @@ int pkgman() sprintf(spkg_count, "%d", pkg_count); strcat(pkgman_name, spkg_count); strcat(pkgman_name, " "); - - strcat(pkgman_name, current->pkgman_name); + #ifndef __APPLE__ + strcat(pkgman_name, current->pkgman_name); // this is the line that breaks mac os, but something strange happens before + #endif } } return total;