From 511a746c28a7debb9257225ff9da8c139546ca55 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 19 Sep 2024 07:13:32 +0200 Subject: [PATCH] window size --- apps/remixdesktop/src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remixdesktop/src/main.ts b/apps/remixdesktop/src/main.ts index fc4663e7d1..863cdf6512 100644 --- a/apps/remixdesktop/src/main.ts +++ b/apps/remixdesktop/src/main.ts @@ -36,8 +36,8 @@ const windowSet = new Set([]); export const createWindow = async (dir?: string): Promise => { // Create the browser window. const mainWindow = new BrowserWindow({ - width: 2560,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8), - height: 1140, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8), + width: (isE2E ? 2560 : screen.getPrimaryDisplay().size.width * 0.8), + height: (isE2E ? 1140 : screen.getPrimaryDisplay().size.height * 0.8), frame: true, webPreferences: { preload: path.join(__dirname, 'preload.js')