diff --git a/src/main/index.ts b/src/main/index.ts index 8cea37e..0a9374f 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -18,13 +18,13 @@ async function createWindow() { cachedFullConfig = await fetchFullConfig(cachedSeed); } - const { bounds } = screen.getPrimaryDisplay(); + const { workArea } = screen.getPrimaryDisplay(); mainWindow = new BrowserWindow({ - width: bounds.width, - height: bounds.height, - x: bounds.x, - y: bounds.y, + width: workArea.width, + height: workArea.height, + x: workArea.x, + y: workArea.y, title: 'OSIT Aether Launcher (Native)', webPreferences: { preload: path.join(__dirname, '../preload/index.js'),