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.
1 parent 493ae06 commit 8ea7f78Copy full SHA for 8ea7f78
app/main/autoupdater.ts
@@ -40,7 +40,10 @@ export async function appUpdater(updateFromMenu = false): Promise<void> {
40
41
autoUpdater.allowPrerelease = isBetaUpdate;
42
43
- const eventsListenerRemove = ["update-available", "update-not-available"];
+ const eventsListenerRemove = [
44
+ "update-available",
45
+ "update-not-available",
46
+ ] as const;
47
autoUpdater.on("update-available", async (info: UpdateInfo) => {
48
if (updateFromMenu) {
49
updateAvailable = true;
0 commit comments