-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] MacOS support #95
Comments
Hi @mdubinko, thanks for properly opening this up. From this formula, I understood Homebrew's proposed Archey version corresponds to this project. That being said, have you tried directly running a recent release of Archey 4 on your system ? Despite a wrong logo being displayed, I'd want to know whether it crashed, and if so, why ! Bye 👋 EDIT : Also see related #38. |
Straight out of the box, I get Alas, MacOS has neither /proc nor an lscpu binary. According to https://www.quora.com/Is-there-a-Mac-OS-equivalent-to-the-Linux-lscpu it looks like the near equivalent is
Which locally returns
So it seems like it would be more complicated to figure out cores/threads/etc. Would it be worth looking at how archey-osx does it, or would you prefer more of a cleanroom approach? |
Thanks for you feedback, I'm actually already on it with the help of a friend. Expect a proper proposition within some days. Bye 🙇 |
> See related : #95. > Darwin (macOS) ASCII art has been borrowed from Neofetch sources: > <https://github.com/dylanaraps/neofetch/blob/6dd85d67fc0d4ede9248f2df31b2cd554cca6c2f/neofetch#L8052>
> This patch imitates Neofetch and Screenfetch behaviors, as "Aqua" does not explicitly appear in processes list. > See related : #95.
... and "title-ifies" the ones already present for consistency purposes > See related : #95.
Hey back @mdubinko. Would you be able to test latest git checkout develop
git pull
python3 -m archey I had to adapt tests a bit, but now CI is all green. I'm waiting for your feedback before anything else. EDIT : Most of Archey-OSX has been ported, and (regular) BSDs should be supported too. Bye 👋 |
My fork is basically abandoned at this point. :) I ran this straight from the develop branch on this repo.
After iTerm.app the rectangular blocks are in fact color swatches. |
It was just in case 😌
Since #67 (IIRC),
One more thing I also spotted in CI executions : I can't understand your Thanks for your feedback ! Bye 👋 EDIT : I don't know whether the |
On my Catalina box: ('10.15.7', ('', '', ''), 'x86_64') Not sure how temp sensors work across different Macs, and I haven't closely inspected the new code yet. Though that error message mentions AMD and probably isn't even relevant for Mac... |
Thanks again, please find an updated EDIT : I opted for (apparently well-known) third-parties to gather temperature on macOS (iStats or OSX CPU Temp), without any error messages in case they are not installed so as to keep the detection fully-optional and a "clean" output out-of-the-box for iUsers. What do you think about that ? |
All good on my side, I'm waiting for your feedback about last |
Gave good output with no error messages. Temperature: Not detected I ran # brew install osx-cpu-temp then tried again, and got:
|
Thanks again for your feedback @mdubinko ! |
Released today as v4.11.0, waiting for feedback from the community now. Bye 👋 |
There is an old version of archey still on Mac Homebrew, but it's listed as deprecated and
brew doctor
suggests finding an alternative. Posting here in case someone has already considered adding MacOS (Darwin, actually) support to this nice project.In this particular instance, I'm still on Catalina 10.15.7 :
The text was updated successfully, but these errors were encountered: