Skip to content

v1.3.1 - Fix broken Windows auto-update

Choose a tag to compare

@github-actions github-actions released this 26 Jul 18:09
· 11 commits to main since this release

Fixes a broken Windows auto-update

If you installed v1.3.0 on Windows and the in-app updater showed "Update Failed... Cannot download ...KineTube-Setup-1.3.0.exe, status 404", this release fixes it. You'll need to download this version manually one last time from the link below - after that, future updates through the in-app updater will work normally again.

What went wrong

The Windows installer's filename wasn't pinned in the build config, so electron-builder used its default pattern, which contains a literal space (KineTube Setup 1.3.0.exe). Two different systems then "fixed" that space in two different, incompatible ways:

  • electron-builder itself replaced the space with a dash when it wrote the update-metadata file (latest.yml) - producing KineTube-Setup-1.3.0.exe
  • GitHub's release-asset upload silently replaced the space with a dot on the actual uploaded file - producing KineTube.Setup.1.3.0.exe

The in-app updater read the dash version from latest.yml, tried to download it, and got a 404, because the file that actually existed had dots instead.

The fix

The Windows build config now pins an explicit, space-free filename pattern (KineTube-Setup-<version>.exe), so there's nothing left for either system to rewrite - the built file, the GitHub asset, and latest.yml all agree on the same name. Verified on this release: latest.yml and the uploaded asset now match exactly.

Also fixed

  • The "Update Failed" dialog could overflow its own box when the error message was long (like the URL in the 404 above). Long messages now wrap properly inside the dialog instead of spilling out.

Not affected

macOS and Linux updates were never affected by this bug - their default filenames don't contain spaces.

Downloads

Platform File
Windows KineTube-Setup-1.3.1.exe
macOS (Intel) KineTube-1.3.1.dmg
macOS (Apple Silicon) KineTube-1.3.1-arm64.dmg
Linux KineTube-1.3.1.AppImage

Full Changelog: v1.3.0...v1.3.1