Make the launcher a standalone repo

Moved out of codegod100/ultra with its history (examples/launcher is now web/).
ultra is a git submodule; pixi tasks build web/app.wasm with it and run the
browser test. CI runs that test and builds the APK, signed with the same
committed debug key, and republishes the launcher-latest release.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011TQdaz3C1f3xEJM6PFzWE6
This commit is contained in:
Claude committed 2026-10-21 20:49:40 +00:00
1 parent ab03efd389
commit 075d97b5b4
11 files changed
+2082 -178

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env python3
"""Serve web/ on a free port and run tests/e2e.cjs against it (`pixi run test`)."""
import importlib.util
import os
import subprocess
import sys
import threading
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
spec = importlib.util.spec_from_file_location("ultra_tool", os.path.join(ROOT, "ultra", "tools", "ultra.py"))
ultra = importlib.util.module_from_spec(spec)
spec.loader.exec_module(ultra)
srv = ultra.make_server(os.path.join(ROOT, "web"), 0, quiet=True)
threading.Thread(target=srv.serve_forever, daemon=True).start()
r = subprocess.run(["node", os.path.join(ROOT, "tests", "e2e.cjs")], cwd=ROOT,
env={**os.environ, "BASE": f"http://localhost:{srv.server_address[1]}"})
srv.shutdown()
sys.exit(r.returncode)