Stop linking the Android APK through a branch-named raw URL.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-18 12:22:11 +02:00
commit aa1d8c4426
4 changed files with 72 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
# Rebuild the three installer zips that README links to. Browsers download a
# zip; they render .command / .sh / .cmd as a text tab.
# Rebuild the installer zips that README links to. Browsers download a
# zip; they render .command / .sh / .cmd / .html as a text tab.
set -eu
@ -24,3 +24,11 @@ rm -f "$here/maturita-installer-macos.zip"
zip -q -FS maturita-installer-windows.zip maturita-installer-windows.cmd
zip -q -FS maturita-installer-linux.zip maturita-installer-linux.sh
# Browsers download a zip; they render .html as a text tab on GitHub.
# The page looks up the tip of `builds` so Fastly cannot serve a cached 404
# for the branch-named APK URL.
cp maturita-android.html "$tmp/Stahnout maturita.C.html"
rm -f "$here/maturita-installer-android.zip"
(cd "$tmp" && zip -q -FS "$here/maturita-installer-android.zip" \
"Stahnout maturita.C.html")