Documentation
¶
Overview ¶
Updater example: a minimal Wails v3 app that ships in-app updates from a GitHub release. Three pieces wire together:
- app.Updater.Init configures the source + current version.
- A menu item triggers app.Updater.CheckAndInstall, which opens the default update window and walks the full flow.
- The frontend subscribes to updater:* events to show its own progress UI alongside the framework window.
Out of the box, the example reports as v1.0.0 and points at wailsapp/updater-demo — a public repo that publishes a v2.0.0 release for each supported platform, so "Check for Updates…" finds, downloads, verifies, swaps, and restarts into a real upgraded binary.
Pass APP_VERSION / GH_REPOSITORY env vars to point this at your own repo.
Click to show internal directories.
Click to hide internal directories.