mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Linux quit app on main window close
This commit is contained in:
@@ -364,6 +364,8 @@ function createWindow() {
|
|||||||
if (isCloseToTray && !appIsQuitting) {
|
if (isCloseToTray && !appIsQuitting) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
mainWindow.hide();
|
mainWindow.hide();
|
||||||
|
} else {
|
||||||
|
app.quit();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user