|
@@ -1,8 +1,8 @@
|
|
|
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
|
|
-index df089a6..7aeb54b 100644
|
|
|
+index 2f5a931..ac3d7e6 100644
|
|
|
--- a/build/gulpfile.vscode.js
|
|
|
+++ b/build/gulpfile.vscode.js
|
|
|
-@@ -286,7 +286,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
|
|
+@@ -290,7 +290,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
|
|
all = es.merge(all, gulp.src('resources/linux/code.png', { base: '.' }));
|
|
|
} else if (platform === 'darwin') {
|
|
|
const shortcut = gulp.src('resources/darwin/bin/code.sh')
|
|
@@ -12,19 +12,19 @@ index df089a6..7aeb54b 100644
|
|
|
all = es.merge(all, shortcut);
|
|
|
}
|
|
|
diff --git a/src/vs/platform/native/electron-main/nativeHostMainService.ts b/src/vs/platform/native/electron-main/nativeHostMainService.ts
|
|
|
-index bd4dc01..02cbbc2 100644
|
|
|
+index 3bd0c57..d921c60 100644
|
|
|
--- a/src/vs/platform/native/electron-main/nativeHostMainService.ts
|
|
|
+++ b/src/vs/platform/native/electron-main/nativeHostMainService.ts
|
|
|
-@@ -355,7 +355,7 @@ export class NativeHostMainService extends Disposable implements INativeHostMain
|
|
|
+@@ -353,7 +353,7 @@ export class NativeHostMainService extends Disposable implements INativeHostMain
|
|
|
}
|
|
|
|
|
|
- private async getShellCommandLink(): Promise<{ readonly source: string, readonly target: string }> {
|
|
|
+ private async getShellCommandLink(): Promise<{ readonly source: string; readonly target: string }> {
|
|
|
- const target = resolve(this.environmentMainService.appRoot, 'bin', 'code');
|
|
|
+ const target = resolve(this.environmentMainService.appRoot, 'bin', this.productService.applicationName);
|
|
|
const source = `/usr/local/bin/${this.productService.applicationName}`;
|
|
|
|
|
|
// Ensure source exists
|
|
|
-@@ -565,7 +565,7 @@ export class NativeHostMainService extends Disposable implements INativeHostMain
|
|
|
+@@ -563,7 +563,7 @@ export class NativeHostMainService extends Disposable implements INativeHostMain
|
|
|
|
|
|
// macOS
|
|
|
if (this.environmentMainService.isBuilt) {
|