The app's built-in Python looked for root certificates in the build
machine's Python folder, so every update check failed verification and no
notice appeared. Windows and macOS programs now bundle certifi and add it
(and macOS /etc/ssl/cert.pem) to the default store for the update check,
the language model and live traffic. A failed check now shows its reason
on the start screen and main menu; U checks again. CI runs --tls-self-test
on both programs, on macOS with OpenSSL's default paths pointed nowhere.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CTvq68YWzbEc9Yj9uKXSsM
The release workflow (windows.yml) now also builds U-Jagd.app with
PyInstaller (packaging/macos) natively for arm64 (macos-latest) and
x86_64 (macos-15-intel), since pygame and NumPy publish no universal2
wheels, self-tests it (mission + Remote Crew, the bundle swap, and the
zip as the in-game updater unpacks it) and zips it with ditto as
U-Jagd-macOS-<arch>.zip. A single final publish job creates the release
and uploads the Windows exe and both zips, then prunes older releases,
so the builds never race.
The frozen macOS app updates itself: it downloads the zip for its
processor (size and SHA-256 checked), unpacks it safely beside the
bundle (confined paths and links, bounded size, modes 755/644) into
<app>.update, and a detached sh script swaps the bundle after the game
quits (old bundle renamed aside, restored on failure, deleted only once
the new one is in place) and reopens it. Translocated or unwritable
bundles open the release page. ~/.u-jagd is never touched.
Remote Crew on macOS: SIOCGIFADDR is Linux-only, so the LAN address now
comes from the routing table there (and whenever no private interface
address was found).
README (EN/DE) gains a macOS app section with the first-start step;
the quickstart manual chapter mentions the macOS update.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
The Tk starter stays deleted: the frozen game installs updates itself
("windows" mode); src/launcher/entry.py takes over the starter's
UPDATE_EXIT_CODE hand-over (fetch <exe>.new if missing, launch_install).
main.py keeps --multiplayer and passes mode None to start_update_check;
launcher.* catalog keys stay removed next to the new update.* keys.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
After deleting the older releases, the Windows workflow now also deletes
every git tag vX.Y.Z older than the current version, so only the newest
release and its tag stay on GitHub. The uConsole updater fetches only the
tag of releases/latest. Tags of another form (backup tags) are kept.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
The install script paused with `timeout`, which exits at once when stdin
is redirected, so its retries ran out while the old exe was still
running: the download stayed as U-Jagd-Windows.exe.new and the old
version restarted. The script now waits with ping and retries the move
for about two minutes until both PyInstaller processes are gone, the
starter deletes a leftover .new file, and the Windows workflow tests the
swap with --update-self-test.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
After publishing v<APP_VERSION> the Windows workflow deletes every older
release (git tags stay). tools/prune_releases.py picks only vX.Y.Z tags older
than the current version, never a newer one. Both updaters read only
releases/latest.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
Regenerate the uConsole (1280x720, now including the seven submarine
stations) and Remote Crew browser screenshots, embed both in the EN/DE
READMEs (the German one now uses the German images), and move the release
history into CHANGELOG.md / CHANGELOG.de.md. tools/changelog_notes.py prints
a release's entry for the GitHub release text and checks the rule;
capture_commander's lobby check counts the nine visible frigate cards.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HWJsfpgUP5DoVqBjzNbQoj
U-Jagd-Windows.exe (PyInstaller) opens a starter window that launches the
game with Remote Crew already listening on the PC's private LAN address
(crew or solo mode, optionally as the submarine), shows URL, join code and
QR code, and offers newer GitHub releases (size and SHA-256 checked,
self-replacing). The game gains --remote-crew and --status-file, and finds
its LAN address without Linux ioctls through the routing table. A workflow
builds and self-tests the program on windows-latest for every push and PR
and publishes release v<APP_VERSION> on main.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h