Rename the product display branding to Graduately.

Update app titles, installers, and welcome copy while keeping technical package IDs and updater artifact names.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-23 19:54:58 +02:00
commit 6bdd25dd74
29 changed files with 96 additions and 85 deletions

View file

@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Nainstalovat maturita.C</string>
<string>Nainstalovat Graduately</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Stáhnout maturita.C</title>
<title>Stáhnout Graduately</title>
<style>
body {
font-family: system-ui, sans-serif;
@ -27,7 +27,7 @@
</style>
</head>
<body>
<h1>maturita.C pro Android</h1>
<h1>Graduately pro Android</h1>
<p>Klepni na tlačítko. Až se APK stáhne, otevři ho a povol instalaci z neznámých zdrojů.</p>
<p>
<a class="btn" id="dl"

View file

@ -1,5 +1,5 @@
#!/bin/sh
# maturita.c installer for Linux.
# Graduately installer for Linux.
#
# Carries no application of its own. Fastly caches branch-named URLs on
# raw.githubusercontent.com, so this script looks up the tip of `builds`
@ -34,7 +34,7 @@ builds_sha() {
head -n 1
}
say "Installing maturita.C"
say "Installing Graduately"
say "---------------------"
arch=$(uname -m)
@ -76,7 +76,7 @@ mkdir -p "$DESKTOP_DIR"
cat > "$DESKTOP_DIR/maturita.desktop" <<EOF
[Desktop Entry]
Type=Application
Name=maturita.C
Name=Graduately
Comment=Practice app for the Czech maturita exam
Exec=$DEST
Icon=maturita

View file

@ -1,5 +1,5 @@
#!/bin/sh
# maturita.c installer for macOS.
# Graduately installer for macOS.
#
# Carries no application of its own. Fastly caches branch-named URLs on
# raw.githubusercontent.com, so this script looks up the tip of `builds`
@ -24,7 +24,7 @@ say() { printf '%s\n' "$*"; }
gui_dialog() {
osascript - "$1" <<'APPLESCRIPT'
on run argv
display dialog (item 1 of argv) with title "maturita.C" buttons {"OK"} default button 1
display dialog (item 1 of argv) with title "Graduately" buttons {"OK"} default button 1
end run
APPLESCRIPT
}
@ -32,7 +32,7 @@ APPLESCRIPT
gui_alert() {
osascript - "$1" <<'APPLESCRIPT'
on run argv
display dialog (item 1 of argv) with title "maturita.C" buttons {"OK"} default button 1 with icon stop
display dialog (item 1 of argv) with title "Graduately" buttons {"OK"} default button 1 with icon stop
end run
APPLESCRIPT
}
@ -57,13 +57,13 @@ builds_sha() {
if [ "$GUI" = 1 ]; then
if ! osascript <<'APPLESCRIPT'
display dialog "Nainstalovat maturita.C do složky Aplikace? Stáhne se aktuální verze." with title "maturita.C" buttons {"Zrušit", "Instalovat"} default button "Instalovat"
display dialog "Nainstalovat Graduately do složky Aplikace? Stáhne se aktuální verze." with title "Graduately" buttons {"Zrušit", "Instalovat"} default button "Instalovat"
APPLESCRIPT
then
exit 0
fi
else
say "Installing maturita.C"
say "Installing Graduately"
say "---------------------"
fi
@ -78,16 +78,19 @@ command -v curl >/dev/null 2>&1 || die "Na Macu chybí curl, bez něj nejde nic
# often is not, even when this installer can drop a .app there once.
dest_dir="$HOME/Applications"
mkdir -p "$dest_dir"
if [ -e "/Applications/Maturita.app" ] && [ -w "/Applications/Maturita.app" ]; then
rm -rf "/Applications/Maturita.app"
fi
# Remove legacy Maturita.app and any prior Graduately install in /Applications.
for legacy in Maturita.app Graduately.app; do
if [ -e "/Applications/$legacy" ] && [ -w "/Applications/$legacy" ]; then
rm -rf "/Applications/$legacy"
fi
done
tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT INT TERM
if [ "$GUI" = 1 ]; then
osascript <<'APPLESCRIPT' >/dev/null || true
display notification "Stahuji aktuální verzi…" with title "maturita.C"
display notification "Stahuji aktuální verzi…" with title "Graduately"
APPLESCRIPT
fi
@ -116,6 +119,10 @@ rm -rf "$dest_dir/$name.old"
if [ -e "$dest_dir/$name" ]; then
mv "$dest_dir/$name" "$dest_dir/$name.old"
fi
# Drop the old product name if we are installing Graduately.app.
if [ "$name" = "Graduately.app" ] && [ -e "$dest_dir/Maturita.app" ]; then
rm -rf "$dest_dir/Maturita.app"
fi
if mv "$app" "$dest_dir/$name"; then
rm -rf "$dest_dir/$name.old"
else

View file

@ -1,5 +1,5 @@
@echo off
rem maturita.c installer for Windows.
rem Graduately installer for Windows.
rem
rem Carries no application of its own. Fastly caches branch-named URLs on
rem raw.githubusercontent.com, so this script looks up the tip of `builds`
@ -11,9 +11,9 @@ setlocal EnableDelayedExpansion
set "REPO=pepaskopec-blip/maturita.c"
set "BRANCH=builds"
set "ASSET=maturita-windows-x64.zip"
set "DEST=%LOCALAPPDATA%\Programs\Maturita"
set "DEST=%LOCALAPPDATA%\Programs\Graduately"
echo Installing maturita.C
echo Installing Graduately
echo ---------------------
where curl >nul 2>&1 || goto :no_tools
@ -37,7 +37,7 @@ if not exist "%DEST%" mkdir "%DEST%" || goto :fail_dest
tar -xf "%TMP_DIR%\%ASSET%" -C "%DEST%" || goto :fail_extract
set "LNK=%APPDATA%\Microsoft\Windows\Start Menu\Programs\maturita.C.lnk"
set "LNK=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Graduately.lnk"
powershell -NoProfile -ExecutionPolicy Bypass -Command ^
"$s=(New-Object -ComObject WScript.Shell).CreateShortcut('%LNK%');" ^
"$s.TargetPath='%DEST%\maturita.exe';$s.WorkingDirectory='%DEST%';$s.Save()" >nul 2>&1

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>maturita.C pro iOS</title>
<title>Graduately pro iOS</title>
<style>
body {
font-family: system-ui, sans-serif;
@ -28,7 +28,7 @@
</style>
</head>
<body>
<h1>maturita.C pro iPhone (iOS 26)</h1>
<h1>Graduately pro iPhone (iOS 26)</h1>
<p>
Nativní aplikace pro iOS 26+ s Liquid Glass. Není 1:1 kopie desktopu.
Apple nepovolí instalaci jako Android APK. Nejjednodušší cesta je Mac

View file

@ -12,7 +12,7 @@ chmod +x maturita-installer-macos.command maturita-installer-linux.sh
tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT INT TERM
app="$tmp/Nainstalovat maturita.C.app"
app="$tmp/Nainstalovat Graduately.app"
mkdir -p "$app/Contents/MacOS"
cp macos/Info.plist "$app/Contents/Info.plist"
cp maturita-installer-macos.command "$app/Contents/MacOS/installer"
@ -20,7 +20,7 @@ chmod +x "$app/Contents/MacOS/installer"
rm -f "$here/maturita-installer-macos.zip"
(cd "$tmp" && zip -r -q "$here/maturita-installer-macos.zip" \
"Nainstalovat maturita.C.app")
"Nainstalovat Graduately.app")
zip -q -FS maturita-installer-windows.zip maturita-installer-windows.cmd
zip -q -FS maturita-installer-linux.zip maturita-installer-linux.sh
@ -28,12 +28,12 @@ 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"
cp maturita-android.html "$tmp/Stahnout Graduately.html"
rm -f "$here/maturita-installer-android.zip"
(cd "$tmp" && zip -q -FS "$here/maturita-installer-android.zip" \
"Stahnout maturita.C.html")
"Stahnout Graduately.html")
cp maturita-ios.html "$tmp/Jak nainstalovat maturita.C.html"
cp maturita-ios.html "$tmp/Jak nainstalovat Graduately.html"
rm -f "$here/maturita-installer-ios.zip"
(cd "$tmp" && zip -q -FS "$here/maturita-installer-ios.zip" \
"Jak nainstalovat maturita.C.html")
"Jak nainstalovat Graduately.html")