chromium: add more flags

This commit is contained in:
CanadaHonk 2023-01-27 19:55:44 +00:00
parent b67fcfcbe7
commit 74ebd51ad1

View File

@ -13,6 +13,6 @@ export default async ({ browserPath, dataPath }, { url, windowSize }, extra) =>
`--remote-debugging-pipe`,
`--user-data-dir=${dataPath}`,
windowSize ? `--window-size=${windowSize.join(',')}` : '',
...`--new-window --no-first-run --no-default-browser-check --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 --no-default-browser-check --disable-component-extensions-with-background-pages --disable-extensions --disable-default-apps --disable-breakpad --disable-crashpad --disable-background-networking --disable-domain-reliability --disable-component-update --disable-sync --disable-features=AutofillServerCommunication -in-process-gpu ${presets.perf}`.split(' ')
], 'stdio', extra);
};