Skip to content

Auto-update support for rpm and pacman Linux packages #130

Description

@Zaldaryon

PR #124 added .deb auto-update support by reading electron-builder's package-type marker from process.resourcesPath and passing it to canAutoUpdate. electron-updater's own main.js (lines 53 to 70) already selects RpmUpdater or PacmanUpdater the same way once the packaged marker says rpm or pacman, and app-builder-lib's FpmTarget.js writes that marker for every fpm-based target, not only .deb.

Raised by Pixnop while reviewing #124: electron-builder.yml does not publish rpm or pacman targets today, so this is currently unreachable, not broken. Once either target ships, extending canAutoUpdate's allowed package types should be a small change, the same mechanism the .deb fix already uses.

Scope: publish the target(s) in electron-builder.yml, confirm readLinuxPackageType() reads the marker correctly for that package format, and extend the allowed set in canAutoUpdate.

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