build: stop bundling the higher career venue packs (#123)

Strip club and arena venue media (~678 MB of crowd MP4s) from the desktop
bundle; they download on demand from their content-pack releases. The bar
starter stays bundled so career works offline out of the box.

Companion to the core PR (career: host higher venues as opt-in content
packs). Part of the nightly-slimming effort (#122).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Matthew Harris Glover
2026-07-23 00:29:09 +02:00
committed by GitHub
co-authored by Claude Opus 4.8
parent 575f26fa5b
commit a2e6acfdab
+8
View File
@@ -160,6 +160,14 @@ done
# Plugin-discovery __init__.py
cp "$SLOPSMITH_DIR/plugins/__init__.py" "$BUNDLE_DIR/plugins/"
# Opt-in content: don't bundle the higher career venues — the starter (bar)
# stays bundled so career works offline, but club/arena (~678 MB of crowd MP4s)
# download on demand from the content-packs release (venues.json `pack` URLs;
# career/routes.py _download_pack). Removing the media degrades gracefully.
for venue in club arena; do
rm -rf "$BUNDLE_DIR/plugins/career/venue-packs/$venue"
done
# Desktop-specific plugins (audio_engine, plugin_manager) declared in
# src/renderer/**/plugin.json
for dp in "$PROJECT_DIR/src/renderer" "$PROJECT_DIR/src/renderer/plugin-manager"; do