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

--overwrite increasing continuously DMG size

MarcoMedrano opened this issue · comments

I am running it in Macos Sierra 10.12.6.
I am using --overwrite argument to get a new installer, however seems it is adding to the current DMG file instead of over write it.
Yeah the final build runs the expected code, but the DMG continues growing.
Here is the exact line i am executing:

electron-installer-dmg --overwrite './out/Sky Pro Virtual Support Center-darwin-x64/Sky Pro Virtual Support Center.app' installer

First time i run that, i have a 60MB DMG, second time 120MB and so on.
Yeah the workaround is to first remove the DMG.

rm installer.dmg

Same for me on Yosemite 10.10.5, but for me the work around is to delete the package (which is created with overwrite too), deleting only the dmg keeps the double size.