folder增加项目启动器入口,优化窗口跳转

This commit is contained in:
xintaofei
2026-03-27 15:25:55 +08:00
parent 3b080c801b
commit ea77c5b0e8
20 changed files with 81 additions and 39 deletions

View File

@@ -952,9 +952,9 @@ export async function openSettingsWindow(
window.open(result.path, `settings-${section ?? "general"}`)
}
export async function openProjectBootWindow(): Promise<void> {
export async function openProjectBootWindow(source?: string): Promise<void> {
if (getTransport().isDesktop()) {
return getTransport().call("open_project_boot_window")
return getTransport().call("open_project_boot_window", { source })
}
window.open("/project-boot", "project-boot")
}