1.0.1 • Published 3 years ago

mount-dmg v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

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