feat: 增加更新页

This commit is contained in:
Wxw-Gu committed 2026-08-25 21:07:25 +08:00
1 parent eec6286a58
commit 9dee0bbd3c
28 files changed
+1079 -135

No files matched your search

+2
View File
@@ -685,6 +685,8 @@ app.whenReady().then(async () => {
ipcMain.handle('app-update:check', () => appUpdateService.check())
ipcMain.handle('app-update:download', () => appUpdateService.download())
ipcMain.handle('app-update:install', () => appUpdateService.install())
ipcMain.handle('app-update:openDownloadPage', () => appUpdateService.openDownloadPage())
appUpdateService.scheduleStartupCheck()
ipcMain.handle('cache:getSummary', () => getCacheSummary())
ipcMain.handle('cache:openKnowledgeDirectory', () => openKnowledgeDirectory())
ipcMain.handle('cache:clear', async (_, scope: CacheClearScope) => {