Skip to content

Commit

Permalink
Make auto update on Windows silent.
Browse files Browse the repository at this point in the history
Bump version.
  • Loading branch information
heyman committed Mar 6, 2023
1 parent 0be331d commit 19dc637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion electron/main/auto-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand Down

0 comments on commit 19dc637

Please sign in to comment.