Chapter 4

In-App Auto-Update

Binary swap + GitHub releases + modal UI.

~24 min total3 lessonsAssignment

By the end of this chapter you'll be able to

  • Wire the updater
  • Build the modal UI
  • Cut a release that auto-distributes

Chapter assignment

Cut v0.1.1 and watch v0.1.0 auto-update

Install v0.1.0 of your app. Change a small thing, bump version to 0.1.1, run release-desktop.sh. The running v0.1.0 should detect the new release, prompt the user, and swap to v0.1.1.

See success criteria

Lesson 1 takes ~9 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub