github electron-userland/electron-installer-redhat v4.0.0

6 hours ago

4.0.0 (2026-06-29)

Bug Fixes

  • add alternative drm library to allow usage with OpenSUSE (#313) (0ca9555)

Features

  • add option for a custom SPEC file (#245) (ab6694f)
  • add StartupWMClass to desktop entry (#357) (4700e3d), closes #346
  • publish releases with semantic-release and npm trusted publishing (#356) (d496282)
  • update default dependencies and desktop entries for modern distros (#355) (9a8108f)

BREAKING CHANGES

  • electron-installer-redhat is now an ES module. Load it
    with import; CommonJS consumers on Node.js >= 22.12 can use
    require('electron-installer-redhat').default.

  • test: migrate from mocha to node:test

  • feat: update default dependencies and desktop entries for modern distros

  • electron-installer-redhat is now an ES module. Load it
    with import; CommonJS consumers on Node.js >= 22.12 can use
    require('electron-installer-redhat').default.

  • test: migrate from mocha to node:test

  • fix: compare RPM version components numerically

rpmVersionSupportsBooleanDependencies compared parsed version arrays
with >=, which coerced both sides to comma-joined strings and compared
them lexicographically. Versions like 4.9.0 incorrectly reported as
supporting boolean dependencies ('4,9,0' >= '4,13,0' is true because
'9' > '1' at index 2). Compare major/minor components numerically
instead, and add a regression test for the previously broken range.

Don't miss a new electron-installer-redhat release

NewReleases is sending notifications on new releases.