> ## Documentation Index
> Fetch the complete documentation index at: https://supastack.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For the full documentation corpus in one file, fetch: https://supastack.dev/llms-full.txt

# Shipping Tauri v2 desktop updates: auto-updater, code signing, and notarization

Ship signed Tauri v2 updates on macOS and Windows, configure the HTTPS update feed, and test the upgrade from an installer customers already have.

_Published 2026-11-29._
_Updated 2026-11-29._

> **How do I ship trusted auto-updates for a Tauri v2 app on macOS and Windows?**
> It depends on whether you distribute directly or through a store. For direct distribution, use the Tauri updater with signed artifacts and an HTTPS feed. Sign with Developer ID and notarize on macOS; sign and timestamp your Windows installer. These are separate from the Tauri updater signature. Test that an already installed build can download, verify, and launch the next version on each platform.

## Sign for the updater and for the operating system

For direct downloads, ship the Tauri v2 updater with a public key in the installed app and publish signed replacement artifacts over HTTPS. On macOS, sign with Developer ID and notarize. On Windows, Authenticode-sign and timestamp the installer. The OS trust check and the updater signature protect different things: a valid installer signature does not make the Tauri updater accept the download.

This is the direct-download flow. If your app is distributed through the Mac App Store or Microsoft Store, check its update rules before also enabling an in-app updater. For the framework choice itself, see [Tauri vs Electron](https://supastack.dev/blog/tauri-vs-electron-for-desktop-apps.md).


## Build an update feed your installed app can trust

Generate the updater keypair, embed the public key with your endpoint in the build, and keep the private key in the release secret store with a secure backup. Turn on `bundle.createUpdaterArtifacts` so the bundler creates updater artifacts and signatures. A key lost after shipping means old installs cannot verify packages signed with its replacement. Plan a recovery path before the first version goes out.

With a static [Tauri updater feed](https://v2.tauri.app/plugin/updater/), `latest.json` declares the version and maps each supported target and architecture to its download URL and signature content. Upload the artifacts first, then switch the manifest. Rebuilding a file after signing it, or pointing an Apple Silicon entry at an Intel archive, is enough to break the upgrade.


## Notarize the macOS build before calling it released

For direct distribution, sign the app with a Developer ID Application certificate and enable the hardened runtime. Submit the signed deliverable to Apple's notary service, wait for acceptance, and staple the ticket to the app or disk image as appropriate. Build the updater archive from the finalized app rather than modifying the app after the updater archive has been signed.

Download the installer on a clean Mac, open it through Finder, and verify Gatekeeper accepts it. Testing a build straight out of your local target folder is not the same as opening a file a browser has quarantined. Repeat on Intel if you publish Intel builds.


## Timestamp the Windows signature and test as a normal user

Use Authenticode signing with a trusted code-signing certificate or signing service. Sign your app executable and the installer you distribute, and request a trusted timestamp so Windows can verify when the signature was made. Do not confuse a valid signature with a guarantee that SmartScreen will never warn; reputation and device policy matter too.

Run a downloaded installer on a clean Windows machine, verify the publisher name, and try the upgrade as a standard user. Test the installer type you actually ship. An MSI tested by an administrator does not tell you whether an NSIS installer will update a normal user's install.


## Rehearse the upgrade with supastack's release workflow

Supastack's desktop release workflow builds a platform matrix and generates a manifest when the updater is configured. The kit checks for updates at startup and exposes a manual check. Channels can be separated with a channel-aware endpoint. Bring your own updater keys, hosting, and platform signing credentials; configure Windows signing for your release rather than inferring it from a successful build.

Install version 1.0.0 from your test feed, then publish 1.0.1 and update from inside the app. Check the version after restart and make sure sign-in survives. On a test feed, confirm an invalid signature fails without replacing the working app. Read the [updater configuration guide](https://supastack.dev/docs/desktop/updates.md) and [code signing guide](https://supastack.dev/docs/desktop/signing.md) before promoting the feed.
