From 220d220a8ca69277c4fd6e2434874346d6bbbbe8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 25 Jun 2024 15:11:01 +0200 Subject: [PATCH] fixed 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 dc9cb210ff..b53913b09b 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 ? 1920 : screen.getPrimaryDisplay().size.height * 0.8), - width: (isE2E ? 1080 : screen.getPrimaryDisplay().size.width * 0.8), + height: 1920, + width: 1080, frame: true, webPreferences: { preload: path.join(__dirname, 'preload.js')