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

Cannot seperate iOS and macOS #108

Open
Torrekie opened this issue Oct 28, 2020 · 2 comments
Open

Cannot seperate iOS and macOS #108

Torrekie opened this issue Oct 28, 2020 · 2 comments

Comments

@Torrekie
Copy link

Tested on both iOS and macOS, returns 'darwin'.

Environment: iOS 13.5 Unc0ver Jailbreak
Nodejs version: v12.17.0

@retrohacker
Copy link
Owner

getos is for Linux distributions. For Windows and MacOS, getos is a pass through to os.platform().

If there is a module like getos but for MacOS, we could rely on that when os.platform() returns darwin.

@piranna
Copy link
Collaborator

piranna commented Jul 3, 2021

darwin is the (open source) operating system, both iOS and macOS are a set of propietary APIs and libraries build on top of it.

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

No branches or pull requests

3 participants