From 3a15ad9778191f5d29dd8ff8c8f0645bf2a36372 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Thu, 11 Mar 2021 02:13:52 +0100 Subject: [PATCH] fixing for 1.54 --- patches/binary-name.patch | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/patches/binary-name.patch b/patches/binary-name.patch index b09070b..44db574 100644 --- a/patches/binary-name.patch +++ b/patches/binary-name.patch @@ -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