mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-22 20:55:03 +03:00
parent
9e5c9ede44
commit
85bb7a2e95
@ -169,7 +169,7 @@ export class Application {
|
||||
|
||||
broadcastExcept (event: string, except: WebContents, ...args: any[]): void {
|
||||
for (const window of this.windows) {
|
||||
if (window.webContents.id === except.id) {
|
||||
if (window.webContents.id !== except.id) {
|
||||
window.send(event, ...args)
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ import { ConfigProvider } from '../api/configProvider'
|
||||
import { PlatformService } from '../api/platform'
|
||||
import { HostAppService } from '../api/hostApp'
|
||||
import { Vault, VaultService } from './vault.service'
|
||||
import { serializeFunction } from '../utils'
|
||||
const deepmerge = require('deepmerge')
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
@ -146,6 +147,7 @@ export class ConfigService {
|
||||
this.store.vault = vault.store
|
||||
this.save()
|
||||
})
|
||||
this.save = serializeFunction(this.save.bind(this))
|
||||
}
|
||||
|
||||
mergeDefaults (): unknown {
|
||||
|
Loading…
Reference in New Issue
Block a user