Skip to content

Commit 0e3c272

Browse files
committed
[Fix] Fixed updater not downloading update
1 parent e2b7763 commit 0e3c272

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bpsr-meter",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "BPSR Meter",
55
"author": "Denoder",
66
"type": "module",

src/main/update-check.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ export async function showUpdateDialog(updateInfo: UpdateInfo): Promise<void> {
267267
if (!updateWindow.isDestroyed() && pendingUpdateInfo) {
268268
setTimeout(() => {
269269
updateWindow.webContents.send("update-info", pendingUpdateInfo);
270-
pendingUpdateInfo = null;
271270
}, 1000);
272271
clearInterval(isUpdateWindowOpen);
273272
}

0 commit comments

Comments
 (0)