完成启动项目功能、排查一些灵异问题

This commit is contained in:
2026-03-29 00:26:49 +08:00
parent cabb2f65da
commit 6002ac1418
17 changed files with 222 additions and 78 deletions

View File

@@ -21,6 +21,7 @@ declare global {
_checkIDEsVersion: () => Promise<checkIDEsVersionDto>
_getVSCodeProjects: () => Promise<IdeProjectsDto>
_getJetBrainsProjects: () => Promise<IdeProjectsDto>
_openProject: (ide: string, path: string) => Promise<boolean>
}
}
}

View File

@@ -17,7 +17,9 @@ const codeLaunchpadApi = {
_getIDEsVersion: () => ipcRenderer.invoke('codeLaunchpad:getIDEsVersion'),
_checkIDEsVersion: () => ipcRenderer.invoke('codeLaunchpad:checkIDEsVersion'),
_getVSCodeProjects: () => ipcRenderer.invoke('codeLaunchpad:getVSCodeProjects'),
_getJetBrainsProjects: () => ipcRenderer.invoke('codeLaunchpad:getJetBrainsProjects')
_getJetBrainsProjects: () => ipcRenderer.invoke('codeLaunchpad:getJetBrainsProjects'),
_openProject: (ide: string, path: string) =>
ipcRenderer.invoke('codeLaunchpad:openProject', ide, path)
}
// Use `contextBridge` APIs to expose Electron APIs to