diff --git a/src/components/Updater/UpdaterContext.js b/src/components/Updater/UpdaterContext.js index 91351a48..c2eb19ab 100644 --- a/src/components/Updater/UpdaterContext.js +++ b/src/components/Updater/UpdaterContext.js @@ -44,7 +44,8 @@ class Provider extends Component { this.sub = autoUpdate.send({}).subscribe({ next: e => { if (e.status === 'download-progress') { - const downloadProgress = e.payload && e.payload.percent ? e.payload.percent : 0 + const downloadProgress = + e.payload && e.payload.percent ? e.payload.percent.toFixed(0) : 0 this.setState({ status: e.status, downloadProgress }) } else { this.setStatus(e.status)