← ClaudeAtlas

windows-direct-distributionlisted

Give a Windows desktop app (Tauri first) automatic updates outside any store: WinSparkle loaded at runtime, the NSIS installer signed with the same EdDSA key as Sparkle on the Mac, and a Windows appcast of its own beside the macOS one. Use when the user wants a Windows build that updates itself, adds WinSparkle, asks for a Windows appcast or update feed, or says "עדכונים אוטומטיים בווינדוס", "הפצה לווינדוס", "WinSparkle". It does NOT Authenticode-sign the installer, does not publish to the Microsoft Store, and does not upload — hosting stays the app's own script. The Mac half is macos-direct-distribution's job.
yybd/app-factory · ★ 5 · AI & Automation · score 77
Install: claude install-skill yybd/app-factory
# Direct distribution + auto-updates for a Windows app Give a Windows app what `macos-direct-distribution` gives a Mac one: a download from your own server that updates itself. The updater is **WinSparkle**, which reads the Sparkle appcast format and verifies the same EdDSA signature — so a Tauri app that already ships on the Mac with Sparkle keeps **one** signing key for both. Three things carry the weight, and each has a reason in [references/winsparkle.md](references/winsparkle.md): 1. **The DLL is loaded at runtime and fails open.** A missing updater must never stop the app from starting. 2. **Windows has its own feed** (`<releases>/windows/appcast.xml`). A Mac release that regenerates `appcast.xml` would otherwise wipe the Windows item silently. 3. **The enclosure points at the versioned installer**, never the stable download link, so the signature always describes the bytes behind the URL. ## Prerequisites - **Tools:** a Tauri 2 app with an NSIS Windows build (CI on `windows-latest`, or cross-compiled on the Mac with `windows-local-build`; no Windows machine is needed to build). On the Mac: Sparkle's `sign_update` (in the `bin/` of a Sparkle release, or under DerivedData after an Xcode project resolved the package), `curl`, `unzip`, `shasum`. - **Credentials:** the Sparkle EdDSA key pair. An app with a Mac Sparkle build already has one — reuse it, as either the exported key file or its login-Keychain account. An app without one generates it onc