electron open mode is changed
This commit is contained in:
parent
cffe62986e
commit
3729ea0e67
|
@ -120,7 +120,9 @@ export class AppWindow {
|
||||||
// can be tidied up once https://github.com/electron/electron/issues/12971
|
// can be tidied up once https://github.com/electron/electron/issues/12971
|
||||||
// has been confirmed as resolved
|
// has been confirmed as resolved
|
||||||
this.window.once(ElectronBrowserWindowChannel.ReadyToShow, () => {
|
this.window.once(ElectronBrowserWindowChannel.ReadyToShow, () => {
|
||||||
if (!appStorage.startupHideWindow) {
|
if (appStorage.startupHideWindow) {
|
||||||
|
this.window.close();
|
||||||
|
} else {
|
||||||
this.window.show();
|
this.window.show();
|
||||||
}
|
}
|
||||||
this.window.on(ElectronBrowserWindowChannel.Unmaximize, () => {
|
this.window.on(ElectronBrowserWindowChannel.Unmaximize, () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user