mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-07 15:13:51 +08:00
- 支持全部工作台标签与 AI 对话在多显示器中原生独立展示 - 修复拖拽指针捕获,恢复关闭、右键菜单和跨窗口释放识别 - 拆分子窗启动入口并按需加载语言与工作台内容 - 内容与 Monaco 完成可见绘制后再提交迁移,消除白屏和加载闪烁 - 加固结果编辑、宿主同步及关闭、超时和焦点竞态
31 lines
962 B
HTML
31 lines
962 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>GoNavi</title>
|
|
<script>
|
|
if (typeof window !== 'undefined' && !window.go) {
|
|
window.go = {
|
|
app: {
|
|
App: new Proxy({}, { get: () => async () => ({ success: false }) })
|
|
}
|
|
};
|
|
}
|
|
if (typeof window !== 'undefined' && !window.runtime) {
|
|
window.runtime = new Proxy({}, {
|
|
get: (target, prop) => {
|
|
if (prop === 'Environment') return async () => ({ platform: 'darwin' });
|
|
return typeof prop === 'string' && prop.startsWith('WindowIs') ? () => false : () => {};
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/bootstrap.ts"></script>
|
|
</body>
|
|
</html>
|