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

Open
#227 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
desktop

Research direction

Start with the provided appdmg.json configuration and compare processing of the exact title "Shift" with "Shft" and "Shift ". Reproduce the missing-background behavior on an affected computer, then verify that the background image loads for the exact title without changing the other configuration.

Written by the indexing model from the issue text.

Description

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
Dominant language
JavaScript
Stars
1.7k
Forks
158
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from LinusU/node-appdmg

All issues in LinusU/node-appdmg

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.