fix(desktop): wails3 绑定 .js→.ts + 实机验证通过
wails3 build 重新生成绑定为 TypeScript(比 standalone generate 的 .js 更规范, tsconfig allowJs 保留以兼容两种)。整体迁移实机验证: - wails3 build 全过(前端 build → 绑定生成 → go build -tags production 原生编译 → 打包) - 原生二进制 bin/sundynix_desktop 启动,窗口开、进程稳、日志无 error/panic - app 前端加载后自动登录(持久态)并打通后端:gateway 收到 /spaces/current、 /me/spaces、/me/tenants、/stats/overview、/runs、/health 一整串鉴权请求全 200 - runtime 版本号不一致(npm alpha.97 vs CLI alpha2.117)未导致问题 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
//@ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import { Create as $Create } from "@wailsio/runtime";
|
||||
|
||||
Object.freeze($Create.Events);
|
||||
Reference in New Issue
Block a user