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

get os edition for windows 11 #535

Merged
merged 4 commits into from
Dec 29, 2021
Merged

get os edition for windows 11 #535

merged 4 commits into from
Dec 29, 2021

Conversation

JohaoRosasRosillo
Copy link
Contributor

get os edition for windows 11 with library systeminformation

@javo javo merged commit 10a383d into master Dec 29, 2021

var edition = stdoutsi.distro.split(" ").splice(3)[0];

if (edition == "Business") edition = "Pro";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linea 98 y 100 se repite en la 112 y 114, ¿es posible moverlo fuera del IF?

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.

3 participants