提交 f93d34e4 编写于 作者: M Martin Aeschlimann

Command line error - "Option 'proxy-server' is unknown. Ignoring.". Fixes #82253

上级 a30e88ac
......@@ -74,7 +74,13 @@ export interface ParsedArgs {
'force'?: boolean;
'force-user-env'?: boolean;
// node flags
// chromium command line args: https://electronjs.org/docs/all#supported-chrome-command-line-switches
'no-proxy-server'?: boolean;
'proxy-server'?: string;
'proxy-bypass-list'?: string;
'proxy-pac-url'?: string;
'inspect'?: string;
'inspect-brk'?: string;
'js-flags'?: string;
'disable-gpu'?: boolean;
'nolazy'?: boolean;
......
......@@ -111,7 +111,14 @@ export const OPTIONS: OptionDescriptions<Required<ParsedArgs>> = {
'trace-options': { type: 'string' },
'force-user-env': { type: 'boolean' },
// chromium flags
'no-proxy-server': { type: 'boolean' },
'proxy-server': { type: 'string' },
'proxy-bypass-list': { type: 'string' },
'proxy-pac-url': { type: 'string' },
'js-flags': { type: 'string' }, // chrome js flags
'inspect': { type: 'string' },
'inspect-brk': { type: 'string' },
'nolazy': { type: 'boolean' }, // node inspect
'_urls': { type: 'string[]' },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册