mirror of
https://github.com/aunetx/deezer-linux.git
synced 2025-04-08 17:05:27 +02:00
Fix #18 by adding --disable-systray
argument
This commit is contained in:
parent
337922c687
commit
0faf1ea482
@ -7,7 +7,10 @@ index 5066eef..46b04c5 100644
|
||||
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",
|
Loading…
x
Reference in New Issue
Block a user