Files
launcher/web/index.html
T
SpriteandClaude Sonnet 5.5 637129aa4e Add the web runtime (DOM patcher, events, host bridge) and a browser e2e
web/ is the js-target MoonBit program: it renders app.view into the DOM with a
keyed patcher, turns pointer/touch/key events into app input, runs effects
against window.Android or demo stand-ins, and exposes window.launcher.* for the
Android shell. tests/e2e.cjs ports the legacy Playwright flows and passes
against the build; scripts/build-web.sh assembles dist/web.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 01:02:08 +00:00

19 lines
754 B
HTML

<!doctype html>
<html lang="en" class="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>ultra · Launcher</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- The page is the MoonBit program (launcher.js, built from web/*.mbt): it renders into
#app. On a phone the Java shell serves this folder from the APK's assets, answers
apps.json / widgets.json and provides window.Android; in a desktop browser the demo
JSON files next to this page are used and a toast stands in for each launch. -->
<main id="app"></main>
<div id="toast" role="status"></div>
<script type="module" src="launcher.js"></script>
</body>
</html>