From 840be08349d5006a02c27e6f689e79b21dcbedef Mon Sep 17 00:00:00 2001 From: JJ Date: Mon, 2 Nov 2026 22:50:34 +0800 Subject: [PATCH 1/2] docs: restore the coloured download badges from version 1 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index da7dcf4..7058435 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ A desktop interface for the [StarNet2](https://starnetastro.com/cli-tools/starnet/) star removal command-line tool, on macOS, Windows and Linux.

- Download for Mac (Apple Silicon) - Download for Mac (Intel) - Download for Windows - Download for Linux + Download for Mac (Apple Silicon) + Download for Mac (Intel) + Download for Windows + Download for Linux

From 50b48db70d7d4fd36d471a426704916ad987413b Mon Sep 17 00:00:00 2001 From: JJ Date: Mon, 2 Nov 2026 22:57:05 +0800 Subject: [PATCH 2/2] docs: add a Debian download button for the .deb the release builds --- README.md | 1 + scripts/release.mjs | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7058435..958df6d 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ A desktop interface for the [StarNet2](https://starnetastro.com/cli-tools/starne Download for Mac (Intel) Download for Windows Download for Linux + Download for Debian

diff --git a/scripts/release.mjs b/scripts/release.mjs index 2b75a6c..1db9be8 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -39,9 +39,9 @@ setVersion(conf, /("version":\s*)"[^"]+"/, `$1"${version}"`); setVersion(cargo, /^version = "[^"]+"$/m, `version = "${version}"`); setVersion(lock, /(name = "starnet-gui"\nversion = )"[^"]+"/, `$1"${version}"`); -// Point the README's four download buttons at this version's assets. The tag +// Point the README's download buttons at this version's assets. The tag // and the filename both carry the version, so they have to move together. A -// silent miss here — a renamed bundle, an edited README — would ship four dead +// silent miss here — a renamed bundle, an edited README — would ship dead // buttons on the repo homepage, so assert the rewrite actually landed. const readme = "README.md"; const stamped = readFileSync(readme, "utf8") @@ -50,9 +50,9 @@ const stamped = readFileSync(readme, "utf8") const stampedLinks = stamped.match( new RegExp(`/releases/download/v${version}/starnetGUI_${version}_`, "g"), ); -if (stampedLinks?.length !== 4) { +if (stampedLinks?.length !== 5) { throw new Error( - `README.md: expected 4 download links for v${version}, rewrote ${stampedLinks?.length ?? 0}. ` + + `README.md: expected 5 download links for v${version}, rewrote ${stampedLinks?.length ?? 0}. ` + `Check the bundle filenames in the release workflow against the links in README.md.`, ); }