folder增加项目启动器入口,优化窗口跳转
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user