You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/12/30 02:06:58 UTC

[GitHub] [cordova-cli] breautek commented on issue #566: bug: macOS 12 monterey is not supported

breautek commented on issue #566:
URL: https://github.com/apache/cordova-cli/issues/566#issuecomment-1367684533

   > This is happening again with Ventura ... we need a future proof fix
   
   Probably just get rid of `insight` package. We use it to display the "consumer" name of the Mac version instead of the Darwin version.
   
   But unfortunately the underlying package can't see in the future nor do they gracefully handle unknown Darwin versions. Instead we can just use the NodeJS APIs (`OS.platform()` / `OS.release()` / `OS.version()`). Platform will provide `darwin` on macs, and either `release()` or `version()` will provide the version. `OS.version()` might be pretty much a direct replacement since it returns `"Windows 10 Pro"` rather than the actual OS version. (`release()` appears to return the actual version, e.g: `10.0.19045`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org