question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`productName` isn't being respected on Linux

See original GitHub issue
  • Version: 7.21.0
  • Target: deb/AppImage

package.sjon

...
"build": {
  ...
  "linux": {
    "arch": [
      "ia32",
      "x64"
    ],
    "target": [
      "deb",
      "AppImage"
    ]
  }
  ...
}
...

app/package.json

...
"name": "hyper",
"productName": "Hyper",
...

Expected behavior

As per the docs, after running build, dist/linux-unpacked/Hyper should be present.

Actual behavior

After running build, dist/linux-unpacked/hyper is present – instead of Hyper.

I believe this regression was introduced here 😕

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Nov 5, 2016

but my concern is the inconsistency between the 3 platforms – it was consistent before

  1. AppImage since begging use name, but not productName for executable (because space in the executable causes (mostly fixed now, but anyway) weird issues).
  2. You cannot modify macOs executable name after sign — weird things will happen. So, it is better to use name on macOs also. But we cannot change it due to backward compatibility (you must not change executable name once signed app is delivered to customers). So, productName for now on macOs.

So… I don’t think it is inconsistent. We build app according to platform/target conventions, not according to some unified and artificial standard.

1reaction
matheusscommented, Nov 4, 2016

To be clear: hyper is not suitable because the name of the app is Hyper 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package name vs. Product name · Issue #297 · electron ...
I do forsee bugs being filed in the future about how certain names cannot be generated because the filesystem is not Unicode-based.
Read more >
i915 enable_rc6=0 not respected - Launchpad Bugs
i915 enable_rc6=0 is not respected. I want to disable rc6 power savings because it is a tower machine with a kilowatt supply and...
Read more >
Common Configuration - electron-builder
productName String | “undefined” - As name, but allows you to specify a product name for your executable which contains spaces and other...
Read more >
1429590 – Managing repositories with their id via hammer ...
rpm Successfully uploaded file 'test.rpm'. It seems like when we specify --product --name --organization, the permission are applied correctly.
Read more >
Trademark Usage | Linux Foundation
The Linux Foundation trademark usage policy. ... A trademark should not be used as part of your product name. A trademark should not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found