This is a backport PR for branch 42-x-y
trop[bot]

#51479: fix: set XDG app ID and WM_CLASS based on normalized app name

Merged
Created: May 4, 2026, 3:12:43 PM
Merged: May 4, 2026, 7:57:46 PM
1 comments
Target: 42-x-y

Backport of #51424

See that PR for details.

Notes: Improved the way Electron determines the default XDG App ID and WM_CLASS on Linux for better platform compatibility if desktopName is not provided in package.json.

Backport Information

Original PR Author
mitchchn
Original PR Status
Merged
Original PR Merged At
May 4, 2026, 3:12:27 PM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron