Electron-builder: Support retina DMG background image

Created on 27 Apr 2017  路  4Comments  路  Source: electron-userland/electron-builder

If I also have a build/[email protected] background, electron-builder should use it as a retina background.

The appdmg module supports this: https://github.com/LinusU/node-appdmg#retina-background

feature mac

Most helpful comment

Will be implemented.

All 4 comments

We decided that it is better to use tiff directly, so, please see http://stackoverflow.com/a/11204769/1910191 (link from https://github.com/electron-userland/electron-builder/wiki/Options#DmgOptions-background)

tiffutil -cathidpicheck myimage.png [email protected] -out myimage.tiff

Why make it harder than necessary though? electron-builder already handles a lot of manual steps. Also appdmg already supports this. I thought you were using it underneath. @2x.png is a very common pattern for this. I don't want to manually generate archaic TIFF files.

Will be implemented.

Any news on this?

Was this page helpful?
0 / 5 - 0 ratings