mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-04 06:35:06 +01:00
Allow to configure machine name for tunnel (#163812)
* Allow to configure machine name for tunnel * fix tests * fix tests
This commit is contained in:
committed by
GitHub
parent
38b89a1b96
commit
2bfe9bcd6f
@@ -57,7 +57,7 @@ export async function main(argv: string[]): Promise<any> {
|
||||
return new Promise((resolve, reject) => {
|
||||
let tunnelProcess;
|
||||
if (process.env['VSCODE_DEV']) {
|
||||
tunnelProcess = spawn('cargo', ['run', '--bin', 'code-tunnel', ...argv.slice(5)], { cwd: join(getAppRoot(), 'cli') });
|
||||
tunnelProcess = spawn('cargo', ['run', '--bin', 'code-tunnel', '--', ...argv.slice(5)], { cwd: join(getAppRoot(), 'cli') });
|
||||
} else {
|
||||
const tunnelCommand = join(dirname(process.execPath), 'bin', `${product.tunnelApplicationName}${isWindows ? '.exe' : ''}`);
|
||||
const tunnelArgs = argv.slice(3);
|
||||
|
||||
Reference in New Issue
Block a user