build: stop bundling the higher career venue packs

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-20 23:13:48 -04:00
parent 9e5ccdbd90
commit d4e096865a

View File

@ -156,6 +156,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