mac-open-with:在macOS上使用已安装的应用程序打开文件

时间:2021-04-25 22:57:02
【文件属性】:
文件名称:mac-open-with:在macOS上使用已安装的应用程序打开文件
文件大小:7KB
文件格式:ZIP
更新时间:2021-04-25 22:57:02
Swift mac-open-with 在macOS上使用已安装的应用程序打开文件 需要macOS 10.12或更高版本。 macOS 10.13或更早的版本需要下载。 安装 $ npm install mac-open-with 用法 const openWith = require ( 'mac-open-with' ) ; const apps = openWith . getAppsThatOpenFile . sync ( '/some/file.mov' ) ; // or const apps = openWith . getAppsThatOpenType . sync ( 'com.apple.quicktime-movie' ) ; // or const apps = openWith . getAppsThatOpenExtension . sync ( 'mov' ) ;
【文件预览】:
mac-open-with-master
----Sources()
--------open-with()
----.swiftpm()
--------xcode()
----Package.swift(186B)
----.gitignore(86B)
----index.js(2KB)
----readme.md(2KB)
----package.json(852B)

网友评论