Add MacOS support, replace sysinfo #1

Merged
reese merged 6 commits from liljes/mewfetch:main into main 2024-12-20 00:29:51 +00:00

6 commits

Author SHA1 Message Date
3f68e96d71
cpu/memory/os: better error handling 2024-12-19 18:49:22 -05:00
8bfe85e916
Refactor modules into platform-specific files 2024-12-19 18:45:13 -05:00
c7783bda15
Use uname to detect arch, add MacOS cpu brand detection 2024-12-19 16:09:18 -05:00
612a3c4d47
macos: correct memory reporting 2024-12-19 15:46:18 -05:00
6f0bdb8513
artwork: add apple 2024-12-19 13:32:33 -05:00
d485d25308
os: replace sysinfo dep with modules/os
- remove sysinfo dep
- copy relevant pieces to modules/os
- add preliminary MacOS support

Notably, this also allows the project to run on Windows, which wasn't
previously possible (I tried compiling mewfetch on Windows, but had
issues with sysinfo failing to compile for some reason).
2024-12-19 13:32:17 -05:00