diff --git a/patches/quit.patch b/patches/quit.patch index d6fe0c2..e94041c 100644 --- a/patches/quit.patch +++ b/patches/quit.patch @@ -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", \ No newline at end of file