mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 23:59:43 +01:00
fix: rename product executable on macOS (#291948)
* fix: rename product executable name on macOS * chore: update test/automation/src/electron.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: update test/automation/src/electron.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: rename in additional places * chore: rename in code-perf.js * chore: create symlink for backwards compatibility --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -779,18 +779,22 @@ export class TestContext {
|
||||
switch (os.platform()) {
|
||||
case 'darwin': {
|
||||
let appName: string;
|
||||
let binaryName: string;
|
||||
switch (this.options.quality) {
|
||||
case 'stable':
|
||||
appName = 'Visual Studio Code.app';
|
||||
binaryName = 'Code';
|
||||
break;
|
||||
case 'insider':
|
||||
appName = 'Visual Studio Code - Insiders.app';
|
||||
binaryName = 'Code - Insiders';
|
||||
break;
|
||||
case 'exploration':
|
||||
appName = 'Visual Studio Code - Exploration.app';
|
||||
binaryName = 'Code - Exploration';
|
||||
break;
|
||||
}
|
||||
filePath = path.join(dir, appName, 'Contents/MacOS/Electron');
|
||||
filePath = path.join(dir, appName, 'Contents/MacOS', binaryName);
|
||||
break;
|
||||
}
|
||||
case 'linux': {
|
||||
|
||||
Reference in New Issue
Block a user