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

Background image just shows white

chris-pikul opened this issue · comments

I've created a png background image to the exact size (658 × 498) of the one provided from here (even matched color profile and no alpha channel). I then ran the option threw and it built with no errors or warnings. Actually I built once and it threw an error because I misspelled the filename, then corrected and it built successfully, so I know it's looking for it and must have found it. But on testing the resulting DMG the background is plain white, no black border from the template either. Just white. Any ideas why this would happen?

Version: 0.2.1
Node Version: 6.4.0

Facing a similar problem. The app just shows white background. Anyone with a fix.

I'm having the same problem. Using a PNG file.

I'm using an image and I'm not seeing an issue; what is your command? Mine is electron-installer-dmg dist/path/to/app myApp --overwrite --background='./installer/mac/installBackground.jpg' --icon='./installer/mac/path/to/icon

Version: 0.2.1
Node: 6.13.1

Same here, On Yosemite, i tried with png and jpg, only white background

This is working great for the company I work for.

screenshot 2018-05-19 19 39 18

We're using Electron Forge but it's just using electron-installer-dmg under the hood. Here are our Electron Forge settings:

"electronInstallerDMG": {
  "icon": "icons/cntral_desktop_icon.icns",
  "background": "icons/cntral_desktop_dmg_background.png"
},

The background we're using is a PNG with 658 × 489 dimensions.

So it's likely a configuration issue because the library is working correctly.

Versions

electron-installer-dmg: 0.2.1
electron-forge: 5.2.2
macOS High Sierra: 10.13.4

change the background png filename to installBackground.png, and it worked.

Mac os:10.13.5

@imzengyang What was it before?

commented

Make sure you "eject" the DMG from your finder sidebar after you make changes, otherwise the background image won't update

Actually, I am seeing this problem intermittently; sometimes the installer background is my image, sometimes it is white. I cannot reproduce the issue consistently and the filename is install-background.png.

Make sure you "eject" the DMG from your finder sidebar after you make changes, otherwise the background image won't update

It works for me

In my case, don't use Chinese title. Just English !

In my case, don't use Chinese title. Just English !

I try add some version info at the end of title, the background works. you can have a try.

In my case, don't use Chinese title. Just English !

works for me

commented

In my case, don't use Chinese title. Just English !

works for me

In my case, don't use Chinese title. Just English !

works for me, but it seems like a bug...