Repository navigation
v0.1.1 — port AC v1.6.0→v1.7.1 game-neutral fixes
Game-neutral fixes ported from upstream assetto-server-panel v1.6.0→v1.7.1. 13 of the 15 upstream commits in that range were AC saved-session-presets work that doesn't apply to BeamMP and were skipped (see CHANGELOG.md for the explicit list with reasoning).
Fixed
-
dist/auto-rebuild whennode server.jsis invoked directly — cherry-picked fromassetto-dashboard@c18f40d. The package.jsonprestarthook that regeneratesdist/fromsrc/only fires undernpm start. The systemd unit indocs/install-ubuntu.mdrunsnode server.jsdirectly, sogit pull && systemctl restart beamng-panelwas serving a stale UI bundle until someone rannode build.jsby hand. Adds anensureBuildFresh()IIFE at the top ofserver.jsthat walkssrc/, takes the max mtime, compares againstdist/app.js's mtime, and runsbuild.jsviaspawnSynconly when stale or missing. Warm restarts pay one stat per source file and zero subprocess. Build failures log a warning but don't block the boot. -
7zabinary +x bit self-heal — cherry-picked fromassetto-dashboard@c1d9c9f.npm install --ignore-scripts, tarball restores andnode_modulescopies between hosts all silently drop the executable bit onnode_modules/7zip-bin/linux/x64/7za, which made.7zserver-plugin uploads fail with HTTP 500 from a downstreamspawn EACCES. Adds an idempotentfs.chmodSync(sevenBin.path7za, 0o755)right after therequire('7zip-bin')so every panel boot self-heals the bit.
Skipped from upstream
13 commits in the AC v1.6.0..v1.7.1 window are part of the saved-session-presets feature (the session_presets table, the Plantillas/Presets sidebar entry, the inline builder modal, the presetManage permission, the export/import wire format, and four CSS / hook-count / icon-padding fixes against that same modal stack). Session+Preset doesn't map to BeamMP's free-roam multiplayer model, so the whole feature was left behind during the Phase 0/1 AC purge and stays out of scope for this fork.
Polish
- Service worker
CACHE_NAMEbumpedbp-panel-v3→bp-panel-v4.