summarylogtreecommitdiffstats
path: root/quit.patch
diff options
context:
space:
mode:
authorSibren Vasse2022-05-20 15:40:50 +0200
committerSibren Vasse2022-05-20 15:41:06 +0200
commit1d2b24e88597093e823f2174c065f05d272009cf (patch)
treecf6864b326244d3b0044a88711474c298ece5c97 /quit.patch
parente911f45a4217d275fbb496b9385515955676d7df (diff)
downloadaur-1d2b24e88597093e823f2174c065f05d272009cf.tar.gz
v5.30.230-2: merge patches from https://github.com/aunetx/deezer-linux
Diffstat (limited to 'quit.patch')
-rw-r--r--quit.patch7
1 files changed, 5 insertions, 2 deletions
diff --git a/quit.patch b/quit.patch
index 31fb2432b86c..edbb77632bfb 100644
--- a/quit.patch
+++ b/quit.patch
@@ -2,12 +2,15 @@ diff --git a/build/main.js b/build/main.js
index 5066eef..46b04c5 100644
--- a/build/main.js
+++ b/build/main.js
-@@ -3079,7 +3080,7 @@
+@@ -3083,7 +3083,10 @@
this._adjustViewToContentSize(),
mainView.setAutoResize({ width: !0, height: !0 });
} else this.appService.setWindow(this.window, void 0);
- if ((this.appService.setUserAgent(), isPlatform(PLATFORM.DARWIN))) {
-+ if ((this.appService.setUserAgent(), isPlatform(PLATFORM.LINUX))) {
++ if (
++ (this.appService.setUserAgent(), isPlatform(PLATFORM.LINUX))
++ && !process.argv.some(arg => arg === '--disable-systray')
++ ) {
let isQuitting = !1;
external_electron_namespaceObject.app.on(
"before-quit",