silent install and add more info

This commit is contained in:
Zamitto 2024-05-19 14:39:44 -03:00
parent 811878e364
commit b9f5baef34
2 changed files with 6 additions and 4 deletions

View file

@ -7,7 +7,7 @@ const { autoUpdater } = updater;
const restartAndInstallUpdate = async (_event: Electron.IpcMainInvokeEvent) => {
if (app.isPackaged) {
autoUpdater.quitAndInstall();
autoUpdater.quitAndInstall(true, true);
} else {
WindowManager.splashWindow?.close();
WindowManager.createMainWindow();