Merge branch 'main' into fix-mac-updater-url

This commit is contained in:
V 2023-07-27 02:14:59 +02:00 committed by GitHub
commit d150395a6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "VencordDesktop",
"version": "0.2.6",
"version": "0.2.7",
"private": true,
"description": "",
"keywords": [],

View file

@ -345,7 +345,7 @@ function createMainWindow() {
win.setMenuBarVisibility(false);
win.on("close", e => {
const useTray = Settings.store.minimizeToTray && Settings.store.tray;
const useTray = Settings.store.minimizeToTray !== false && Settings.store.tray !== false;
if (isQuitting || (process.platform !== "darwin" && !useTray)) return;
e.preventDefault();