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

@ -5,7 +5,7 @@
# raw.githubusercontent.com, so this script looks up the tip of `builds`
# and downloads that commit — not a stale AppImage from the last five minutes.
#
# Run it with: sh maturita-installer-linux.sh
# Double-click the file (or run: sh maturita-installer-linux.sh).
# The app updates itself from then on.
set -eu
@ -20,7 +20,12 @@ DESKTOP_DIR="$HOME/.local/share/applications"
ICON_DIR="$HOME/.local/share/icons/hicolor/512x512/apps"
say() { printf '%s\n' "$*"; }
die() { printf '\nError: %s\n' "$*" >&2; exit 1; }
die() {
printf '\nError: %s\n' "$*" >&2
printf 'Press Enter to close. '
read -r _ || true
exit 1
}
builds_sha() {
curl -fsSL --max-time 20 \