diff --git a/src/services/window.ts b/src/services/window.ts index 89415f74d..bc652d582 100644 --- a/src/services/window.ts +++ b/src/services/window.ts @@ -68,7 +68,7 @@ async function createMainWindow(app: App) { const spellcheckEnabled = optionService.getOptionBool('spellCheckEnabled'); const { BrowserWindow } = (await import('electron')); // should not be statically imported - + mainWindow = new BrowserWindow({ x: mainWindowState.x, y: mainWindowState.y,