Skip to content
pubscout

desktop_updater

3.2.12, released 4 days ago by radlof.com

Sparkle-style auto-updater for Flutter desktop apps

$ flutter pub add desktop_updater
Source repository

What it does

Provides a cross‑platform updater that downloads signed release artifacts, verifies them, and installs updates. It includes a CLI for publishing feeds and a built‑in UI for showing update progress.

AI-written summary of version 3.2.11, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need automatic, signed updates for macOS, Windows, or Linux Flutter apps
  • You want a single package that handles download, verification, and installation
  • You prefer a command‑line tool to publish and manage update feeds

Skip it when

  • You need a lightweight, single‑file updater without key management
  • You are targeting only one platform and can use platform‑specific tools

Strengths

  • Cross‑platform support (macOS, Windows, Linux)
  • Verified releases with cryptographic signatures
  • CLI for publishing and key management
  • Built‑in UI for update progress

Weaknesses

  • Requires manual key generation and secure storage
  • Setup involves multiple native steps and configuration files
  • Documentation is extensive but can be complex for beginners

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
10

Run `dart run desktop_updater:release keygen` to generate keys, add a `desktop_updater.yaml` config, implement a recovery store, and configure platform‑specific build steps (e.g., macOS install helper).

```dart
import "package:desktop_updater/desktop_updater.dart";

const trustedReleasePublicKeys = <String, String>{
  "release-0123456789abcdef01234567":
      "base64-raw-ed25519-public-key",
};

Future<DesktopUpdaterController> createDesktopUpdaterController() async {
  return DesktopUpdaterController(
    appArchiveUrl: Uri.parse("https://updates.example.com/app-archive.json"),
    expectedPackageId: "com.example.app",
    trustedReleasePublicKeys: trustedReleasePublicKeys,
    recoveryStore: JsonFileUpdateRecoveryStore(File("path/to/pending-install.json")),
  );
}
```

Alternatives

Packages that do the same job and could replace desktop_updater.

Works with

Packages commonly used together with desktop_updater: ones it builds on, ones built on it, and its own family.