Skip to content

Commit eb50be2

Browse files
committed
Merge branch 'main' into fix/update-menus
Signed-off-by: Adam Setch <[email protected]>
2 parents 76778c1 + 97c2a04 commit eb50be2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/updater.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ export default class Updater {
3737
});
3838

3939
autoUpdater.on('download-progress', (progressObj) => {
40-
this.setTooltipWithStatus(`Downloading update: ${progressObj.percent}%`);
40+
this.setTooltipWithStatus(
41+
`Downloading update: ${progressObj.percent.toFixed(2)}%`,
42+
);
4143
});
4244

4345
autoUpdater.on('update-downloaded', () => {

0 commit comments

Comments
 (0)