Merge branch 'upcoming' of https://github.com/ciderapp/Cider into upcoming

This commit is contained in:
booploops 2022-01-28 02:31:04 -08:00
commit 3a2b57f3b3

View file

@ -129,7 +129,7 @@ export default class MinimizeToTray {
})
this._win.on("close", (e :any) => {
if (this._forceQuit || this._store.general["close_behavior"] == '0' ) {
this._app.exit();
this._app.quit();
} else if (this._store.general["close_behavior"] == '1') {
e.preventDefault();
this._win.minimize();