From 458292a6445d22f26bb0e100b5f5ecb48396c536 Mon Sep 17 00:00:00 2001 From: xyloflake Date: Sun, 4 Aug 2024 03:12:27 +0530 Subject: [PATCH 1/9] feat: implement autoupdates for pacman --- docs/api/electron-builder.md | 143 ++++++++++++++++++ docs/api/programmatic-usage.md | 2 +- docs/auto-update.md | 2 +- .../app-builder-lib/src/targets/FpmTarget.ts | 2 +- .../electron-updater/src/AppImageUpdater.ts | 2 +- packages/electron-updater/src/DebUpdater.ts | 2 +- .../electron-updater/src/PacmanUpdater.ts | 41 +++++ packages/electron-updater/src/RpmUpdater.ts | 2 +- packages/electron-updater/src/main.ts | 4 + pnpm-lock.yaml | 2 +- test/src/ExtraBuildResourcesTest.ts | 2 +- test/src/updater/linuxUpdaterTest.ts | 8 +- 12 files changed, 202 insertions(+), 10 deletions(-) create mode 100644 packages/electron-updater/src/PacmanUpdater.ts diff --git a/docs/api/electron-builder.md b/docs/api/electron-builder.md index 7b4c0125196..1f4a086d3f1 100644 --- a/docs/api/electron-builder.md +++ b/docs/api/electron-builder.md @@ -3216,6 +3216,19 @@ return await getCertInfo(cscFile, cscInfo.password || "")
  • .isUpdaterActive()Boolean
  • +
  • .PacmanUpdaterBaseUpdater + +
  • .Provider