Skip to content

Conversation

@Un1q32
Copy link
Contributor

@Un1q32 Un1q32 commented Feb 7, 2025

Description

Fix an issue where the memory getting code would cause neofetch to fail early on old macOS versions (10.5)
It fixes it by checking that the sysctls that might not exist do, and not running the code if they don't. It also doesn't run the code if vm_stat isn't present, which fixes messed up memory output on some old iOS versions.

@hykilpikonna hykilpikonna merged commit e691b2d into hykilpikonna:master Feb 15, 2025
2 checks passed
@hykilpikonna
Copy link
Owner

Even though I don't have the environment to test it, the changes looks good. Thanks for the fix!

@Un1q32 Un1q32 deleted the fix-memory branch February 15, 2025 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants