From f49f083044cb7654b48f6264a752ab30d1cde6ea Mon Sep 17 00:00:00 2001 From: Dr_rOot Date: Tue, 2 May 2023 18:06:44 +0800 Subject: [PATCH] fix: update-downloaded set progress bar value to 1 --- src/main/Application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Application.js b/src/main/Application.js index abf9c74c7..68666b148 100644 --- a/src/main/Application.js +++ b/src/main/Application.js @@ -660,7 +660,7 @@ export default class Application extends EventEmitter { this.menuManager.updateMenuItemEnabledState('app.check-for-updates', true) this.trayManager.updateMenuItemEnabledState('app.check-for-updates', true) const win = this.windowManager.getWindow('index') - win.setProgressBar(0) + win.setProgressBar(1) }) this.updateManager.on('update-cancelled', (event) => {