fixing for 1.54
This commit is contained in:
parent
edc9773c9c
commit
3a15ad9778
1 changed files with 4 additions and 7 deletions
|
@ -24,15 +24,12 @@ diff --git a/src/vs/platform/native/electron-main/nativeHostMainService.ts b/src
|
|||
index 50c4460..bf73260 100644
|
||||
--- a/src/vs/platform/native/electron-main/nativeHostMainService.ts
|
||||
+++ b/src/vs/platform/native/electron-main/nativeHostMainService.ts
|
||||
@@ -430,7 +430,7 @@ export class NativeHostMainService extends Disposable implements INativeHostMain
|
||||
|
||||
@@ -431,4 +431,4 @@ export class NativeHostMainService extends Disposable implements INativeHostMain
|
||||
// macOS
|
||||
if (this.environmentService.isBuilt) {
|
||||
- return join(this.environmentService.appRoot, 'bin', 'code');
|
||||
+ return join(this.environmentService.appRoot, 'bin', `${product.applicationName}`);
|
||||
if (this.environmentMainService.isBuilt) {
|
||||
- return join(this.environmentMainService.appRoot, 'bin', 'code');
|
||||
+ return join(this.environmentMainService.appRoot, 'bin', `${product.applicationName}`);
|
||||
}
|
||||
|
||||
return join(this.environmentService.appRoot, 'scripts', 'code-cli.sh');
|
||||
diff --git a/src/vs/workbench/contrib/cli/node/cli.contribution.ts b/src/vs/workbench/contrib/cli/node/cli.contribution.ts
|
||||
index 30972a4..0a9435c 100644
|
||||
--- a/src/vs/workbench/contrib/cli/node/cli.contribution.ts
|
||||
|
|
Loading…
Reference in a new issue