Skip to content

A full-featured download manager.

fix: update-downloaded set progress bar value to 1

Dr_rOotf49f083044cb
diff --git a/src/main/Application.js b/src/main/Application.js
index abf9c74c..68666b14 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) => {