Package each installer as a zip so a README click downloads a file instead of opening the script as text.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-17 18:24:53 +02:00
commit 2d6e1f04c3
5 changed files with 14 additions and 7 deletions

View file

@ -106,6 +106,13 @@ bundle:
@./scripts/bundle-linux.sh
endif
# Browsers render .command/.sh/.cmd as text/plain. Rebuild these zips after
# changing a script so the README download links stay in sync.
installer-zips:
cd installers && zip -q -FS maturita-installer-macos.zip maturita-installer-macos.command
cd installers && zip -q -FS maturita-installer-windows.zip maturita-installer-windows.cmd
cd installers && zip -q -FS maturita-installer-linux.zip maturita-installer-linux.sh
-include $(DEP)
.PHONY: all clean run bundle
.PHONY: all clean run bundle installer-zips