mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-31 20:55:34 +01:00
add editorWebUrl to tunnelApplicationConfig (#166872)
* add editorWebUrl to tunnelApplicationConfig * bump distro & compile 'build'
This commit is contained in:
committed by
GitHub
parent
857debc96b
commit
0131be02f4
@@ -57,7 +57,8 @@ export async function main(argv: string[]): Promise<any> {
|
||||
return new Promise((resolve, reject) => {
|
||||
let tunnelProcess;
|
||||
if (process.env['VSCODE_DEV']) {
|
||||
tunnelProcess = spawn('cargo', ['run', '--', 'tunnel', ...argv.slice(5)], { cwd: join(getAppRoot(), 'cli') });
|
||||
const env = { ...process.env, VSCODE_CLI_EDITOR_WEB_URL: product.tunnelApplicationConfig?.editorWebUrl };
|
||||
tunnelProcess = spawn('cargo', ['run', '--', 'tunnel', ...argv.slice(5)], { cwd: join(getAppRoot(), 'cli'), env });
|
||||
} else {
|
||||
const appPath = process.platform === 'darwin'
|
||||
// ./Contents/MacOS/Electron => ./Contents/Resources/app/bin/code-tunnel-insiders
|
||||
|
||||
Reference in New Issue
Block a user