Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background image doesn't load on some computers with specific title #227

Open
nicolepeverley opened this issue Apr 24, 2023 · 2 comments
Open

Comments

@nicolepeverley
Copy link

nicolepeverley commented Apr 24, 2023

Our team has noticed an issue with the background image not loading on some computers when the dmg title is set to our app's name "Shift".

For unknown reasons, this issue doesn't seem to happen when we remove the "i" or add anything including a single space after "Shift". In our testing, the background image loads as expected with the following titles.

  • "Shft"
  • "Shift "
  • "Shift 8.5.0.0"

Here are the contents of the appdmg.json file that causes the issue:

{
  "title": "Shift",
  "icon": "shift-logo.icns",
  "background": "dmg.png",
  "contents": [
    { "x": 448, "y": 344, "type": "link", "path": "/Applications" },
    { "x": 192, "y": 344, "type": "file", "path": "Shift.app" }
  ],
  "code-sign": {
    "signing-identity": "..."
  }
}

On only certain computers, the background image doesn't appear as seen below.

Screen Shot 2023-04-24 at 12 54 06 PM

@Laguna1989
Copy link

Same issue here. title seems to be very picky about what chars are allowed.

Does not work:

  • "Chameleon Installer"
  • "chameleon"
  • "installer"
  • ...

Does work

  • "plugin"
  • "test"
  • ...

It is absolutely not easy to understand why there are issues with the image with some names and not with others.

Ideally the title would not affect the image at all, but I would at least hope for a massive warning in the log if something goes wrong.

@Laguna1989
Copy link

It is not just the value of title, but also the name of the image. E.g. background.png is a bad name, while bg.png seems to work. Either that or some really strange caching issues going on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants