Skip to content

Commit 97c2a04

Browse files
authored
feat: download progress precision (#1734)
Signed-off-by: Adam Setch <[email protected]>
1 parent 55004bf commit 97c2a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/updater.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default class Updater {
3434

3535
autoUpdater.on('download-progress', (progressObj) => {
3636
this.menubar.tray.setToolTip(
37-
`Gitify\nDownloading update: ${progressObj.percent} %`,
37+
`Gitify\nDownloading update: ${progressObj.percent.toFixed(2)} %`,
3838
);
3939
});
4040

0 commit comments

Comments
 (0)