读取 git 仓库数据(如有)并显示

This commit is contained in:
2026-03-30 23:27:50 +08:00
parent e505c03952
commit b7d4d9e8a1
9 changed files with 148 additions and 7 deletions

View File

@@ -25,7 +25,8 @@ const codeLaunchpadApi = {
_getVSCodeProjects: () => ipcRenderer.invoke('codeLaunchpad:getVSCodeProjects'),
_getJetBrainsProjects: () => ipcRenderer.invoke('codeLaunchpad:getJetBrainsProjects'),
_openProject: (ide: string, path: string) =>
ipcRenderer.invoke('codeLaunchpad:openProject', ide, path)
ipcRenderer.invoke('codeLaunchpad:openProject', ide, path),
_getProjectGitInfo: (path: string) => ipcRenderer.invoke('codeLaunchpad:getProjectGitInfo', path)
}
// Use `contextBridge` APIs to expose Electron APIs to