提交 4e293af1 编写于 作者: M Matt Bierner

Make sure we pass on options when resolving uri

Otherwise tunneling will never be enabled
上级 ab99fbeb
......@@ -437,7 +437,7 @@ export class ElectronWindow extends Disposable {
// we handle this resource by delegating the opening to
// the main process to prevent window focus issues.
if (this.shouldOpenExternal(resource, options)) {
const { resolved } = await this.openerService.resolveExternalUri(resource);
const { resolved } = await this.openerService.resolveExternalUri(resource, options);
const success = await this.electronService.openExternal(encodeURI(resolved.toString(true)));
if (!success && resolved.scheme === Schemas.file) {
// if opening failed, and this is a file, we can still try to reveal it
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册