Feature request: MacOS support
This is one of our last TODO items, and is being already implemented. However I wanted to create an issue related to it so I can follow a better tracking of the progress.
Initially, a MACOS definition was implemented in lcfetch source code. This is going to be used to detect when compiling for MacOS so compiler can decide what code should be in the final binary in order to avoid issues (e.g. MacOS uses a different header to get uptime stuff).
Here's the list of stuff that needs to be refactored to include support for MacOS.
- [ ] OS and Kernel (maybe not needed, testing is needed)
- [x] Uptime
- [ ] Packages (we will be using homebrew for this)
- [ ] Window Manager
- [ ] Resolution (it seems that MacOS doesn't use Xrandr)
- [ ] CPU and memory (maybe not needed, we need to look at
/procdirectory in MacOS)
Additionally to this, we will also need to change some libraries installations in MacOS because by example, MacOS doesn't use Xrandr and this could cause issues related to missing dynamic libraries and bundling of unneeded stuff.
And lastly, we would need to add a MacOS logo too as it should be. I would personally use white color for the apple and not rainbow, it could look nicer in that way IMO.
IMPORTANT: If you're a MacOS and you're interested on this project please consider being a tester. You can reach me on Discord and Telegram, take a look at my profile README to get links.