ad-oliviero / uwufetch

A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace.
GNU General Public License v3.0
737 stars 48 forks source link

Another issue with UwUfetch on macOS #172

Closed dmelka1 closed 2 years ago

dmelka1 commented 2 years ago

Basically, Uwufetch detects macOS as iOS and it doesn't display number of packages. SS below:

Screenshot 2021-12-06 at 12 13 32
ad-oliviero commented 2 years ago

This one is awkward: maybe on line 472 TARGET_OS_IPHONE could be defined (because of M1 being arm?), so deleting && !defined(TARGET_OS_IPHONE) at line 472 should work, but I am not sure. Also this is not a valid fix because it will not compile for iPhone

dmelka1 commented 2 years ago

didn't work..

dmelka1 commented 2 years ago

it displays the packages count but the os is still iOS

ad-oliviero commented 2 years ago

I replaced TARGET_OS_IPHONE with __IPHONE__ so it will not be defined by default. Should work (I hope).

dmelka1 commented 2 years ago

It works now. Thanks for resolving this issue!