Remove single-process from chromium args

This commit is contained in:
Hongbo Wu 2022-05-14 10:37:06 +08:00
parent 2cde50a1b1
commit 80c14cd6ca

View file

@ -72,7 +72,6 @@ const getBrowserPromise = (async () => {
'--no-zygote',
'--use-gl=swiftshader',
'--window-size=1920,1080', // https://source.chromium.org/search?q=lang:cpp+symbol:kWindowSize&ss=chromium
process.env.LAUNCH_HEADLESS ? '--single-process' : '--start-maximized',
],
defaultViewport: { height: 1080, width: 1920 },
executablePath: process.env.CHROMIUM_PATH ,