Skip to content

chore: remove tauri updater plugin#29

Merged
rrbe merged 1 commit into
mainfrom
chore/remove-updater
May 22, 2026
Merged

chore: remove tauri updater plugin#29
rrbe merged 1 commit into
mainfrom
chore/remove-updater

Conversation

@rrbe
Copy link
Copy Markdown
Owner

@rrbe rrbe commented May 21, 2026

Summary

  • Fixes the Release CI failure on Windows/Linux: failed to decode secret key: incorrect updater private key password: Missing comment in secret key. Root cause is that TAURI_SIGNING_PRIVATE_KEY / _PASSWORD GitHub Secrets were never set, while createUpdaterArtifacts: true and includeUpdaterJson: true were forcing the signing step.
  • Auto-update wasn't actually in use (no signing keys, no Apple notarization on macOS-first target), so the plugin is removed entirely instead of generating a key just to make the build pass.

Changes

  • Drop tauri-plugin-updater and tauri-plugin-process (only used for relaunch) from Cargo.toml and package.json
  • Remove updater plugin registration, background 24h check, and check_for_update_background from src-tauri/src/lib.rs
  • Remove updater:default / process:allow-restart capabilities and the plugins.updater blocks from tauri.conf.json / tauri.windows.conf.json
  • Delete src/lib/updater.ts and the Software Update section in Settings. Current version is still shown at the bottom of the Settings view.
  • Strip TAURI_SIGNING_* env vars and includeUpdaterJson / updaterJsonPreferNsis from .github/workflows/release.yml
  • Drop 9 unused i18n keys (softwareUpdate, checkForUpdates, updateAvailable*, downloadAndInstall, installingUpdate, updateInstalledRestarting, updateFailed, upToDate, currentVersion, retry)

Test plan

  • pnpm build (tsc + vite) — clean
  • pnpm test — 3/3 pass
  • cd src-tauri && cargo test — 48/48 pass
  • cd src-tauri && cargo clippy — no warnings
  • Tag a new release after merge and confirm Release workflow passes on all three platforms

🤖 Generated with Claude Code

The TAURI_SIGNING_PRIVATE_KEY secret was never configured, so Windows
and Linux Release builds failed at the signing step with "Missing
comment in secret key". Since auto-update is not in use, drop the
plugin entirely instead of generating a key.

- Remove tauri-plugin-updater and tauri-plugin-process (only needed
  for relaunch) from Cargo.toml / package.json
- Remove updater plugin registration, background check, and frontend
  updater module
- Drop the Software Update section from Settings (version is still
  shown at the bottom of the view)
- Strip TAURI_SIGNING_* env and includeUpdaterJson from release.yml

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rrbe rrbe merged commit 64b02d1 into main May 22, 2026
3 checks passed
@rrbe rrbe deleted the chore/remove-updater branch May 22, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant