Closed amodelbello closed 4 years ago
For windows and macos systems getos returns 'undefined' for the dist property. This fix checks if dist exists and if not uses the 'os' property.
Fixes #27 & #25
For windows and macos systems getos returns 'undefined' for the dist property. This fix checks if dist exists and if not uses the 'os' property.
Fixes #27 & #25