fix(update): streamline update notification (#51)

This commit is contained in:
Nexmoe
2025-12-23 09:43:14 +08:00
committed by GitHub
parent f5c26f5f02
commit a51655697d
3 changed files with 6 additions and 27 deletions

View File

@@ -317,9 +317,7 @@ function initAutoUpdater(): void {
if (mainWindow) {
mainWindow.webContents.send('update:show-notification', {
title: 'Update Ready',
body: `Version ${info.version} has been downloaded and will be installed on restart.`,
icon: 'app-icon'
version: info.version
})
}
})