We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76778c1 + 97c2a04 commit eb50be2Copy full SHA for eb50be2
src/main/updater.ts
@@ -37,7 +37,9 @@ export default class Updater {
37
});
38
39
autoUpdater.on('download-progress', (progressObj) => {
40
- this.setTooltipWithStatus(`Downloading update: ${progressObj.percent}%`);
+ this.setTooltipWithStatus(
41
+ `Downloading update: ${progressObj.percent.toFixed(2)}%`,
42
+ );
43
44
45
autoUpdater.on('update-downloaded', () => {
0 commit comments