LinusU / node-appdmg

💾 Generate your app dmgs
MIT License
1.68k stars 152 forks source link

Possible to include dependencies? #175

Closed DylanC closed 5 years ago

DylanC commented 5 years ago

My program uses libgraphicsmagick which can be installed manually with brew. Is there a way to bundle this with the Mac .dmg file or get the .dmg to install my dependency as part of the installation process?

LinusU commented 5 years ago

Unfortunately for you use case, the dmg is simply a "folder" that can be downloaded. Thus there is no installation step other than the user copying file from this mounted "folder" out to their hard drive.

Maybe you could bundle the file with your binary and have it self-extract it to some good location? 🤔

DylanC commented 5 years ago

@LinusU - Thanks, I will have a think about it. Maybe bundle into the binary would be best.