Files
dostalgia/frontend
Hermes Agent 79a0af86ad
Build & Deploy / build-and-deploy (push) Successful in 43s
fix: remove .jsdos/ from bundles to avoid js-dos bundleUpdateConfig
js-dos v8.3.8 (loaded from CDN) calls bundleUpdateConfig to re-add
.jsdos/jsdos.json into the downloaded bundle. This fails on our
bundles because the WASM libzip _zipfile_add returns non-zero.

Since we can't fix js-dos's internal WASM code, we remove the .jsdos/
directory from bundles entirely. This means bundleConfig() returns null,
no editor config is set, and bundleUpdateConfig is never called.

Downside: games start with js-dos's default dosbox.conf (no custom
CD mounts or autoexec). The game files are on C:\ and the user can
type the executable name. Added autoStart + countDownStart=0 to
auto-skip the config UI.

The config API endpoint (/api/games/{id}/config) is kept for future
use where we can inject config after the emulator starts.
2026-06-03 19:00:49 +02:00
..