electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.59k stars 1.73k forks source link

Production build starts under a separate launcher in GNOME #2598

Closed negamaxi closed 6 years ago

negamaxi commented 6 years ago

Once app installed custom icon launcher appears in a menu as expected. But every application instance creates a new launcher with some kind of a default icon.

2018-02-17 00-01-39

Is there any way to make app appear under its own launcher?

negamaxi commented 6 years ago

For anyone has faced the same issue you need to provide StatupWMClass property for desktop file configuration like that:

// package.json
  "build: {
    ...
    "linux": {
      "desktop": {
        "StartupWMClass": "MyApp"
      }
    }

MyApp should match you productName I guess.