chromium: add more flags
This commit is contained in:
parent
b67fcfcbe7
commit
74ebd51ad1
@ -13,6 +13,6 @@ export default async ({ browserPath, dataPath }, { url, windowSize }, extra) =>
|
|||||||
`--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 --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);
|
], 'stdio', extra);
|
||||||
};
|
};
|
Loading…
x
Reference in New Issue
Block a user