mount-dmg
v1.0.1
Published
Mount a .dmg file in macOS
Downloads
3,212
Readme
mount-dmg
Mount a .dmg
file in macOS.
Example
const mount = require('mount-dmg')
const { diskPath, volumePath, unmount } = await mount('./app.dmg')
console.log({ diskPath, volumePath })
// { diskPath: '/dev/disk3s3', volumePath: '/Volumes/Nightly' }
await unmount()
Installation
$ npm install mount-dmg
API
mount(path) => { diskPath, volumePath, unmount }
License
MIT