Extract DMG
Extract a DMG file on MacOS.
Install
npm install extract-dmg
Usage
const extractDmg = ; async { await ; // Get contents //=> ["a", "b"] await ; // Extract and get contents //=> ["a", "b"]}
API
extractDmg(filename, destination?)
filename
Type: string
The DMG to extract.
destination
Type: string
The destination directory to place the extracted files. Leave blank to skip extraction.