mirror of
https://github.com/db9979/uconsole_asw_game.git
synced 2026-12-06 21:04:18 +01:00
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
7 lines
168 B
Python
7 lines
168 B
Python
"""PyInstaller entry of the macOS program (see src/launcher/entry.py)."""
|
|
|
|
from src.launcher.entry import main
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|