Resources
Help
English
Appearance
The macOS system operation module is a built-in module, no need to use import to import, you can directly call its interface in the script scope.
The version returned is the semver semantic version object
if macos.version():ge("10.0") then - ... end