pfetch-rs
pfetch-rs copied to clipboard
Windows: support more package managers
it runs but theres no logo, os detection, or package count
memory, uptime, and kernel work though

I fixed os and host detection in ab02f3c39e87eab7013453c6d9d1368c971c2c91. There is currently no logo because pfetch does not have one for Windows. I will probably try to make one but my ASCII art skills are not the best. Package count could probably work with chocolatey or winget, trying to count the packages installed otherwise would be too unreliable.
I added a simple logo, this is what pfetch now looks like on Windows.
39785f191115c83321a7d4b6a8b916fc28361f96: I now use libmacchina for Windows package count, which currently supports cargo and scoop. I may try to add support for winget and chocolatey in the future.
i recommend using # for the windows logo instead of l
You are right, that looks better. As of 5d037c558f0c69e0d6e3430b5383ed91f29df969 it now looks like this:

Added Windows binary in v2.2.0
Could you add support for pacman with msys2? I can't imagine it would be too difficult since pacman works with arch linux, and its the same on msys2
I did some testing and it is actually not that difficult, but it would requre a change in libmacchina and it is possible that this is too much of a niche usecase to be added. I will make a PR soon and we'll see.
I wouldn't call this niche. MSYS2 is how people get any unix-like CLI things working on Windows without WSL (like if you run windows 8)