Skip to content

Commit

Permalink
fix: update-downloaded set progress bar value to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
agalwood committed May 2, 2023
1 parent 830bc93 commit f49f083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit f49f083

Please sign in to comment.