diff --git a/.circleci/config.yml b/.circleci/config.yml index ce800b258a..6f4c8a6543 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -240,10 +240,12 @@ jobs: steps: - run: name: Restart local mstsc - command: psexec64.exe -accepteula -nobanner -i 0 mstsc /v:localhost /w:3840 /h:2160 + command: psexec64.exe -accepteula -nobanner -i 0 mstsc /v:localhost /w:2560 /h:1140 background: true shell: powershell.exe - - run: name: Naive impl to wait until the screen stretches command: Start-Sleep 5 + - run: + name: Naive impl to wait until the screen stretches + command: Start-Sleep 5 - run: name: Get screen info command: | diff --git a/apps/remixdesktop/src/main.ts b/apps/remixdesktop/src/main.ts index ba222820bd..fc4663e7d1 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: 1280,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8), - height: 720, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8), + width: 2560,// (isE2E ? 3840 : screen.getPrimaryDisplay().size.width * 0.8), + height: 1140, //(isE2E ? 2160 : screen.getPrimaryDisplay().size.height * 0.8), frame: true, webPreferences: { preload: path.join(__dirname, 'preload.js') @@ -66,8 +66,8 @@ export const createWindow = async (dir?: string): Promise => { windowSet.delete(mainWindow) }) - //if (isE2E) - // mainWindow.maximize() + if (isE2E) + mainWindow.maximize() windowSet.add(mainWindow) //mainWindow.webContents.openDevTools();