From 19dc637dee701fdafb61136a58921cad16140fd4 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Mon, 6 Mar 2023 09:43:55 +0100 Subject: [PATCH] Make auto update on Windows silent. Bump version. --- electron/main/auto-update.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electron/main/auto-update.ts b/electron/main/auto-update.ts index 8de71fe4..eedc6e24 100644 --- a/electron/main/auto-update.ts +++ b/electron/main/auto-update.ts @@ -59,7 +59,7 @@ ipcMain.handle(UPDATE_START_DOWNLOAD, () => { }) ipcMain.handle(UPDATE_INSTALL_AND_RESTART, () => { - setImmediate(() => autoUpdater.quitAndInstall()) + setImmediate(() => autoUpdater.quitAndInstall(true, true)) }) export function checkForUpdates(win) { diff --git a/package.json b/package.json index f75e2512..84e91e6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Heynote", - "version": "1.0.4", + "version": "1.0.5", "main": "dist-electron/main/index.js", "description": "A dedicated scratch pad", "author": "Jonatan Heyman (https://heyman.info)",