Skip to content

Mattermost desktop app creates .desktop file to launch Electron instead of MattermostΒ #131

@sparr

Description

@sparr
  • The target platform(s) the problem occurs on (Linux, Mac, Mac App Store, and or Windows): EndeavourOS (Arch Linux)
  • Node version (run node -v): v21.7.3
  • auto-launch version: 5.0.6
  • The options you're passing to auto-launch: { name: electron.app.name, isHidden: true }
  • Are you using NW.js or Electron? Electron
    • If so, which version? 31.2.1
    • If you're using Electron, are you using auto-launch from the main process or a renderer process? I'm not sure
  • Can you reproduce this with a simple Hello World example app? Not yet
  • If needs be, would you be able to provide us with a simple app (as simple as possible) which reproduces the problem? I can try.

I am running Mattermost Desktop. When I enable "Start app on login", it asks auto-launch to make that happen. The result is the creation of ~/.config/autostart/electron.desktop with the following contents:

[Desktop Entry]
Type=Application
Version=1.0
Name=electron
Comment=electronstartup script
Exec=/usr/lib/electron31/electron --hidden
StartupNotify=false
Terminal=false

I suspect that Mattermost is not initializing some configuration that auto-launch depends on to do the Electron-specific guesswork necessary here, but I can't figure out what.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions