opencode/packages/app/e2e/utils/windows-menu.html

20 lines
562 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
</head>
<body>
<div id="root"></div>
<script type="module">
import { mount } from "./windows-menu.fixture.tsx"
const params = new URLSearchParams(location.search)
mount({
server: params.get("server"),
path: params.get("path") ?? undefined,
os: params.get("os") === "macos" ? "macos" : undefined,
openApps: params.get("openApps") === "1",
holdOpen: params.get("holdOpen") === "1",
})
</script>
</body>
</html>