add setting to hide tray (menubar for macos)

This commit is contained in:
Charles Buffington
2024-05-07 12:13:19 -04:00
parent 860ee3eaa9
commit 9425920f94
4 changed files with 19 additions and 1 deletions

View File

@@ -183,7 +183,7 @@ export class Application {
}
enableTray (): void {
if (!!this.tray || process.platform === 'linux') {
if (!!this.tray || process.platform === 'linux' || this.configStore.showTray === false) {
return
}
if (process.platform === 'darwin') {