Skip to content

Commit 8af4d0b

Browse files
authored
Can't disable "An external application wants to open" warnings (fix #207777) (#211379)
1 parent 77be70e commit 8af4d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/electron-sandbox/window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export class NativeWindow extends BaseWindow {
331331
// Allow to update security settings around protocol handlers
332332
ipcRenderer.on('vscode:disablePromptForProtocolHandling', (event: unknown, kind: 'local' | 'remote') => {
333333
const setting = kind === 'local' ? 'security.promptForLocalFileProtocolHandling' : 'security.promptForRemoteFileProtocolHandling';
334-
this.configurationService.updateValue(setting, false, ConfigurationTarget.APPLICATION);
334+
this.configurationService.updateValue(setting, false);
335335
});
336336

337337
// Window Zoom

0 commit comments

Comments
 (0)