Fix #18 by adding `--disable-systray`argument
This commit is contained in:
parent
337922c687
commit
0faf1ea482
patches
|
@ -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…
Reference in New Issue