Repository navigation
v1.5.1
Fixes the self-hosted server binary, which exited immediately on launch.
The bug
Downloading the server for Windows, Linux or macOS and running it produced a window that opened and closed instantly. It crashed before it could listen:
Error: Cannot find module '../../../shared/cardOrder.json'
at app/backend/src/utils/compartmentSort.js:104
compartmentSort.js reads the canonical card-order and sort-scheme tables from the repo-root shared/ directory, but the release job never copied that directory into the packaged tree. shared/ arrived on 2026-07-15 and the packaging step was never updated to match.
Every server binary from v1.4.x onward was affected, not just v1.5.0. Docker images and the mobile apps were never affected — both keep the repository layout, where the path resolves.
Nothing caught it because the entire test suite runs from source, where ../../../shared resolves and the packaged layout does not exist.
Fixed
shared/is copied into the release tree, where the require resolves.- CI now boots the assembled binary and polls
/api/health, failing the build if it exits or never answers. Source-based tests are structurally blind to packaging faults, so without this the next missing file would ship the same way. - The launcher no longer dies silently. It had no error handling at all, so a double-clicked executable vanished with no message. It now prints the failure, points at the issue tracker for a missing-file error, and waits for a keypress before closing — while still exiting immediately when stdin is not a TTY, so running it as a service or piped into a log is unchanged.
Upgrading
Download the v1.5.1 server archive below. The broken server assets have been removed from v1.5.0. If you are on Docker or mobile, nothing changed for you in this release — see v1.5.0 for what is new.
Full changelog: v1.5.0...v1.5.1