资源
帮助
其他
简体中文
主题
macOS 系统操作模块,属于内置模块,无需使用import导入,可直接脚本域调用其接口。
返回的版本是 semver 语义版本对象
if macos.version():ge("10.0") then -- ... end