Merge pull request #216716 from microsoft/isidorn/alert-lemur

add proxy-bypass-list as argv argument
This commit is contained in:
Isidor Nikolic 2024-06-21 16:38:38 +02:00 committed by GitHub
commit f9a6ab7d20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -205,7 +205,10 @@ function configureCommandlineSwitchesSync(cliArgs) {
'force-color-profile',
// disable LCD font rendering, a Chromium flag
'disable-lcd-text'
'disable-lcd-text',
// bypass any specified proxy for the given semi-colon-separated list of hosts
'proxy-bypass-list'
];
if (process.platform === 'linux') {

View file

@ -360,6 +360,10 @@ import { MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL } from 'vs/platform/window/electron-sand
type: 'boolean',
description: localize('argv.disableLcdText', 'Disables LCD font antialiasing.')
},
'proxy-bypass-list': {
type: 'string',
description: localize('argv.proxyBypassList', 'Bypass any specified proxy for the given semi-colon-separated list of hosts. Example value "<local>;*.microsoft.com;*foo.com;1.2.3.4:5678", will use the proxy server for all hosts except for local addresses (localhost, 127.0.0.1 etc.), microsoft.com subdomains, hosts that contain the suffix foo.com and anything at 1.2.3.4:5678')
},
'disable-hardware-acceleration': {
type: 'boolean',
description: localize('argv.disableHardwareAcceleration', 'Disables hardware acceleration. ONLY change this option if you encounter graphic issues.')