Skip to content
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

OS_Info.full_name on MacOS #53

Open
bart9h opened this issue Jul 30, 2021 · 1 comment
Open

OS_Info.full_name on MacOS #53

bart9h opened this issue Jul 30, 2021 · 1 comment

Comments

@bart9h
Copy link

bart9h commented Jul 30, 2021

OS_Info.full_name on MacOS gives me information about the kernel (basically uname -a).

On Linux it gives information (name and version) about the distribution, and that looks more coherent.

Shouldn't the MacOS version do something similar, like the output of the sw_vers command?

@nabijaczleweli
Copy link
Collaborator

Good point; according to this old sw_vers and snooping on my VM, this should be extractable from the /System/Library/CoreServices/SystemVersion.plist (and/or /ServerVersion.plist beforehand, if it exists maybe? who knows) list. Sounds like an easy port for someone who's used CoreFoundation dictionaries before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants