mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Add elevation message to ports UI (#113990)
This change allows remote extension to handle elevation if they want. Fixes microsoft/vscode-remote-release#3922
This commit is contained in:
@@ -195,7 +195,9 @@ export class ExtHostTunnelService extends Disposable implements IExtHostTunnelSe
|
||||
}
|
||||
if (provider.tunnelFactory) {
|
||||
this._forwardPortProvider = provider.tunnelFactory;
|
||||
await this._proxy.$setTunnelProvider();
|
||||
await this._proxy.$setTunnelProvider(provider.tunnelFeatures ?? {
|
||||
elevation: false
|
||||
});
|
||||
}
|
||||
} else {
|
||||
this._forwardPortProvider = undefined;
|
||||
|
||||
Reference in New Issue
Block a user