Ship the macOS installer as a double-clickable app.

A regular user can unzip and open it; install no longer needs Terminal or chmod.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-17 18:27:43 +02:00
commit 45ed500fa2
9 changed files with 146 additions and 39 deletions

View file

@ -107,11 +107,11 @@ bundle:
endif
# Browsers render .command/.sh/.cmd as text/plain. Rebuild these zips after
# changing a script so the README download links stay in sync.
# changing a script so the README download links stay in sync. The macOS zip
# is a double-clickable .app — no Terminal, no chmod.
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
chmod +x installers/pack-installer-zips.sh
./installers/pack-installer-zips.sh
-include $(DEP)