fix: electron-store config.json missing
* Added 'electron-store' to the Vite configuration for Electron. * Imported configuration from '@main/config' in the main index file. * Changed default return value for getTrayOnClose method in ConfigManager to false
This commit is contained in:
@@ -62,7 +62,7 @@ export class ConfigManager {
|
||||
}
|
||||
|
||||
getTrayOnClose(): boolean {
|
||||
return !!this.get(ConfigKeys.TrayOnClose, true)
|
||||
return !!this.get(ConfigKeys.TrayOnClose, false)
|
||||
}
|
||||
|
||||
setTrayOnClose(value: boolean) {
|
||||
|
||||
Reference in New Issue
Block a user