gluon/firefox: remove unused CLI options

This commit is contained in:
CanadaHonk 2022-12-13 20:16:20 +00:00
parent e169eee3f4
commit 3fc4723654

View File

@ -64,21 +64,12 @@ user_pref('privacy.window.maxInnerHeight', ${windowSize[1]}); */
`);
const proc = spawn(browserPath, [
// `--window-size=${windowSize.join(',')}`,
// `--remote-debugging-port`, '9228',
`--remote-debugging-port=${debugPort}`,
`-window-size`, windowSize.join(','),
// `--width=${windowSize[0]}`,
// `--height=${windowSize[1]}`
// '-width', windowSize[0],
// '-height', windowSize[1],
`-profile`, dataPath,
// `-P`, `gluon`,
`-new-window`, url,
// `-ssb`, url,
`-new-instance`,
`-no-remote`,
`-shell`
`-no-remote`
].filter(x => x), {
detached: false,
stdio: ['ignore', 'pipe', 'pipe', 'pipe', 'pipe']