mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-15 17:09:59 +00:00
parent
3a7204c2ee
commit
d71ee6b6f1
@ -110,7 +110,7 @@ export class Application {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enableTray (): void {
|
enableTray (): void {
|
||||||
if (this.tray) {
|
if (this.tray || process.platform === 'linux') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
@ -135,6 +135,9 @@ export class Application {
|
|||||||
}
|
}
|
||||||
|
|
||||||
disableTray (): void {
|
disableTray (): void {
|
||||||
|
if (process.platform === 'linux') {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.tray?.destroy()
|
this.tray?.destroy()
|
||||||
this.tray = null
|
this.tray = null
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user