- settings.py: per-Mac settings.json (campus code, youtube); ProPresenter
folder, network port and template library read from ProPresenter itself
- First run / --setup / y asks the campus; YouTube text only at NA
- Preacher picked for this campus from the notes email; a lone surname
("Pastor Geyser") matches the most recent speaker with it
- Never restart ProPresenter when its network API is off or not answering
- tools/make_kit.sh builds "Message Notes Kit <version>.zip" (installer,
program, launcher, READ ME FIRST); deploy.sh writes NA's settings
- Email setup text no longer names media@
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
893 B
Bash
Executable File
19 lines
893 B
Bash
Executable File
#!/bin/bash
|
|
# Build the kit for other campuses: dist/Message Notes Kit <version>.zip
|
|
# Install Message Notes.command, message-notes.pyz, the Desktop launcher, READ ME FIRST.txt
|
|
# No settings and no keys go in it - each Mac asks its own campus on install.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
tools/build.sh >/dev/null
|
|
V=$(/usr/bin/python3 dist/message-notes.pyz --version)
|
|
K="dist/Message Notes Kit"
|
|
rm -rf "$K" && mkdir -p "$K"
|
|
cp dist/message-notes.pyz "dist/Message Notes to ProPresenter.command" "tools/kit/Install Message Notes.command" "$K/"
|
|
sed "s/VERSION_HERE/$V/" "tools/kit/READ ME FIRST.txt" > "$K/READ ME FIRST.txt"
|
|
chmod +x "$K/Install Message Notes.command" "$K/Message Notes to ProPresenter.command"
|
|
Z="dist/Message Notes Kit $V.zip"
|
|
rm -f "$Z"
|
|
(cd dist && /usr/bin/ditto -c -k --keepParent --norsrc "Message Notes Kit" "Message Notes Kit $V.zip")
|
|
rm -rf "$K"
|
|
ls -l "$Z"
|