Skip to content

Commit 4c7dcc2

Browse files
committed
Remove bin path patch
1 parent 444745a commit 4c7dcc2

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

patches/bin-path.diff

-13
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,3 @@ Use our own bin directory
33
To test run `code-server` in an integrated terminal. It should spawn our
44
script and allow you to do things like open files in the current instance.
55

6-
Index: code-server/lib/vscode/src/vs/server/node/extensionHostConnection.ts
7-
===================================================================
8-
--- code-server.orig/lib/vscode/src/vs/server/node/extensionHostConnection.ts
9-
+++ code-server/lib/vscode/src/vs/server/node/extensionHostConnection.ts
10-
@@ -53,7 +53,7 @@ export async function buildUserEnvironme
11-
};
12-
13-
const binFolder = environmentService.isBuilt ? join(environmentService.appRoot, 'bin') : join(environmentService.appRoot, 'resources', 'server', 'bin-dev');
14-
- const remoteCliBinFolder = join(binFolder, 'remote-cli'); // contains the `code` command that can talk to the remote server
15-
+ const remoteCliBinFolder = join(environmentService.appRoot, '../../bin'); // contains the `code` command that can talk to the remote server
16-
17-
let PATH = readCaseInsensitive(env, 'PATH');
18-
if (PATH) {

patches/series

-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ disable-downloads.diff
2020
telemetry.diff
2121
display-language.diff
2222
cli-window-open.diff
23-
bin-path.diff

0 commit comments

Comments
 (0)