CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

fix(landing): resolve download URLs from GitHub Releases API so Windo… #4779

Merged⚡ AI-generatedXSccantynz wants to mergeclaude/fix-windows-download-404-JZSQomainopened Apr 20, 2026
ccantynzcommented Apr 20, 2026

Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/voxlen/pull/22


…ws MSI never 404s on stale deploys

The landing previously hardcoded APP_VERSION + filename into the bundle. When a new release ships but the landing hasn't redeployed (or is served from cache), the Windows MSI URL points at a version that no longer lives at /latest/download and returns 404. Same failure mode for every platform, but Windows was the one reported in the wild.

Fetch /releases/latest from the GitHub API on mount, match a real asset per platform (msi > setup.exe for Windows, aarch64 dmg for Apple Silicon, AppImage for Linux), and link to the asset's browser_download_url. Falls back to the previous version-pinned URL if the API is blocked or rate-limited, so nothing regresses.

Also syncs package-lock.json to 1.0.8 alongside the already-bumped package.json.

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts