Skip to content

Commit 757b4ff

Browse files
committed
Open Insiders install link when in Insiders
1 parent 5b21c7f commit 757b4ff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/vs/workbench/browser/window.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,11 @@ export class BrowserWindow extends Disposable {
223223
if (showResult.choice === 0) {
224224
invokeProtocolHandler();
225225
} else if (showResult.choice === 1) {
226-
await this.openerService.open(URI.parse(`http://aka.ms/vscode-install`));
226+
await this.openerService.open(URI.parse(
227+
this.productService.quality === 'stable'
228+
? `http://aka.ms/vscode-install`
229+
: `http://aka.ms/vscode-install-insiders`
230+
));
227231
}
228232
}
229233
}

0 commit comments

Comments
 (0)