From 2df5372cb220647ff63807276d0cfab5a6ab8a9f Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Wed, 4 Sep 2024 07:03:33 +0200 Subject: [PATCH] force window --- 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 513782cafc..c096ed27e0 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({ - height: (isE2E ? 2560 : screen.getPrimaryDisplay().size.height * 0.8), - width: (isE2E ? 2560 : screen.getPrimaryDisplay().size.width * 0.8), + width: 3840,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8), + height: 2160, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8), frame: true, webPreferences: { preload: path.join(__dirname, 'preload.js')