Skip to content

distromate/flutter-desktop-auto-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Desktop Auto Update with DistroMate

Add auto update to Flutter desktop apps without bolting a second updater stack onto your existing flutter build windows|macos|linux workflow. This adapter lets DistroMate own installers, release delivery, and update metadata.

Use this repo when you want flutter desktop auto update, flutter windows auto update, or flutter macos auto update support from one release flow.

Why use it

  • keep the normal flutter build windows|macos|linux workflow
  • ship installers and auto update releases through DistroMate
  • start from the runnable app in example/

Requirements

  • Node.js 22+
  • Flutter SDK available on PATH or through .fvm/flutter_sdk/bin/flutter
  • DistroMate CLI available on PATH

Install

npm install -D @distromate/cli @distromate/flutter

Official site: https://www.distromate.net/

Example

The minimal runnable app lives in example/.

cd example
flutter create . --platforms=windows,linux,macos
distromate package -v 0.1.0

To publish the same example:

distromate publish -v 0.1.0

Usage

Point distromate.yaml at the builder plugin:

source:
  type: adapter
  plugin: flutter
  options:
    projectDir: .

Then run:

distromate package -v 1.2.3
distromate publish -v 1.2.3

What this adapter does

  • runs flutter build windows|macos|linux
  • infers app metadata and native paths from pubspec.yaml and build output
  • writes DistroMate artifacts to the same native Flutter build directory unless outputDir is overridden
  • keeps release packaging and auto update delivery in one pipeline

Open Source Boundary

  • this adapter repo is open source
  • DistroMate CLI is distributed separately
  • the hosted release flow remains separate from this repo
  • official website: https://www.distromate.net/

Package

  • package name: @distromate/flutter
  • plugin command: dm-plugin-flutter
  • runnable app: example/

License

MIT

About

Add auto update and installer releases to Flutter desktop apps with DistroMate.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors