browser/chromium: disable first run prompts
This commit is contained in:
parent
1cc9ea51e1
commit
f751ed8d6c
@ -13,6 +13,6 @@ export default async ({ browserName, browserPath, dataPath }, { url, windowSize
|
|||||||
`--remote-debugging-pipe`,
|
`--remote-debugging-pipe`,
|
||||||
`--user-data-dir=${dataPath}`,
|
`--user-data-dir=${dataPath}`,
|
||||||
windowSize ? `--window-size=${windowSize.join(',')}` : '',
|
windowSize ? `--window-size=${windowSize.join(',')}` : '',
|
||||||
...`--new-window --disable-extensions --disable-default-apps --disable-breakpad --disable-crashpad --disable-background-networking --disable-domain-reliability --disable-component-update --disable-sync --disable-features=AutofillServerCommunication ${presets.perf}`.split(' ')
|
...`--new-window --no-first-run --disable-extensions --disable-default-apps --disable-breakpad --disable-crashpad --disable-background-networking --disable-domain-reliability --disable-component-update --disable-sync --disable-features=AutofillServerCommunication ${presets.perf}`.split(' ')
|
||||||
], 'stdio', { browserName });
|
], 'stdio', { browserName });
|
||||||
};
|
};
|
Loading…
x
Reference in New Issue
Block a user