electron-userland / electron-installer-dmg

Create DMG installers for your electron apps using appdmg.

Home Page:https://github.com/electron-userland/electron-installer-dmg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrote DMG to: undefined

lapagept opened this issue · comments

DMG is well created. But at the end of the process, electron-installer-dmg display "Wrote DMG to: undefined"
Capture d’écran, le 2019-03-17 à 15 52 00

@lapagept You need to add the path to save the .dmg file using --out=/path/to/save/

In full it will be something like

electron-installer-dmg /path/to/project/my-project.app my-project --out=/path/to/saave

Just check the destination folder you will see the dmg file
Thanks

@twalopro
I do not know why you say that. If you look at my screenshot, you can see that I specified --out=installer/mac

DMG is well created in ./installer/mac and it works well.

But I always get the error :

Wrote DMG to:
undefined