(event: string, ...args: any[])
| 226 | } |
| 227 | |
| 228 | send (event: string, ...args: any[]): void { |
| 229 | if (!this.window) { |
| 230 | return |
| 231 | } |
| 232 | this.window.webContents.send(event, ...args) |
| 233 | if (event === 'host:config-change') { |
| 234 | this.configStore = args[0] |
| 235 | this.enableDockedWindowStyles(this.isDockedOnTop()) |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | isDestroyed (): boolean { |
| 240 | return !this.window || this.window.isDestroyed() |
no test coverage detected