JXA-userland / JXA

JavaScript for Automation(JXA) packages for TypeScript/Node.js.
MIT License
417 stars 21 forks source link

Change method to get environment variable #24

Closed dnicolson closed 3 years ago

dnicolson commented 3 years ago

This pull request changes the method that is used to get the OSA_ARGS environment variable.

So far up to macOS Big Sur beta 5 (20A5354i) $.NSProcessInfo is undefined, the $.getenv method is still available as is used in the osa2 project.

azu commented 3 years ago

Thanks for PR!

azu commented 3 years ago

Release https://github.com/JXA-userland/JXA/releases/tag/v1.3.3