Skip to content

Commit f5fdd8f

Browse files
authored
dont confirm quit on install update (#2864)
1 parent e4020ce commit f5fdd8f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

emain/updater.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import YAML from "yaml";
99
import { RpcApi } from "../frontend/app/store/wshclientapi";
1010
import { isDev } from "../frontend/util/isdev";
1111
import { fireAndForget } from "../frontend/util/util";
12+
import { setUserConfirmedQuit } from "./emain-activity";
1213
import { delay } from "./emain-util";
1314
import { focusedWaveWindow, getAllWaveWindows } from "./emain-window";
1415
import { ElectronWshClient } from "./emain-wsh";
@@ -203,6 +204,7 @@ export class Updater {
203204
if (this.status == "ready") {
204205
this.status = "installing";
205206
await delay(1000);
207+
setUserConfirmedQuit(true);
206208
autoUpdater.quitAndInstall();
207209
}
208210
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)