* 更新项目的 tsconfig.json,添加引擎类型路径 * Update project tsconfig.json with engine type paths * * This updates the tsconfig to point directly to engine's .d.ts files * instead of copying them to the project. * 这会更新 tsconfig 直接指向引擎的 .d.ts 文件,而不是复制到项目。 * * @param projectPath
(projectPath: string)
| 377 | * @param projectPath 项目路径 | Project path |
| 378 | */ |
| 379 | static async updateProjectTsconfig(projectPath: string): Promise<void> { |
| 380 | return await invoke<void>('update_project_tsconfig', { projectPath }); |
| 381 | } |
| 382 | |
| 383 | /** |
| 384 | * 将本地文件路径转换为 Tauri 可访问的 asset URL |
no outgoing calls
no test coverage detected