Make auto update on Windows silent.

Bump version.
This commit is contained in:
Jonatan Heyman 2023-03-06 09:43:55 +01:00
parent 0be331d40d
commit 19dc637dee
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ ipcMain.handle(UPDATE_START_DOWNLOAD, () => {
}) })
ipcMain.handle(UPDATE_INSTALL_AND_RESTART, () => { ipcMain.handle(UPDATE_INSTALL_AND_RESTART, () => {
setImmediate(() => autoUpdater.quitAndInstall()) setImmediate(() => autoUpdater.quitAndInstall(true, true))
}) })
export function checkForUpdates(win) { export function checkForUpdates(win) {

View File

@ -1,6 +1,6 @@
{ {
"name": "Heynote", "name": "Heynote",
"version": "1.0.4", "version": "1.0.5",
"main": "dist-electron/main/index.js", "main": "dist-electron/main/index.js",
"description": "A dedicated scratch pad", "description": "A dedicated scratch pad",
"author": "Jonatan Heyman (https://heyman.info)", "author": "Jonatan Heyman (https://heyman.info)",