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.
PR #124 added
.debauto-update support by reading electron-builder'spackage-typemarker fromprocess.resourcesPathand passing it tocanAutoUpdate.electron-updater's ownmain.js(lines 53 to 70) already selectsRpmUpdaterorPacmanUpdaterthe same way once the packaged marker saysrpmorpacman, andapp-builder-lib'sFpmTarget.jswrites that marker for every fpm-based target, not only.deb.Raised by Pixnop while reviewing #124:
electron-builder.ymldoes not publishrpmorpacmantargets today, so this is currently unreachable, not broken. Once either target ships, extendingcanAutoUpdate's allowed package types should be a small change, the same mechanism the.debfix already uses.Scope: publish the target(s) in
electron-builder.yml, confirmreadLinuxPackageType()reads the marker correctly for that package format, and extend the allowed set incanAutoUpdate.