mirror of
https://github.com/danog/code-server.git
synced 2024-11-30 04:39:46 +01:00
fix: minor build fixes (#5039)
* Regenerate last opened patch The lines were a bit off. * Remove packaged .gitignore files Fixes #4964. * Remove extra Node binary This gets overidden in the standalone but it was getting uselessly included in the npm package.
This commit is contained in:
parent
326a1d1862
commit
18e19d29e6
@ -77,7 +77,12 @@ EOF
|
||||
|
||||
bundle_vscode() {
|
||||
mkdir -p "$VSCODE_OUT_PATH"
|
||||
rsync ./lib/vscode-reh-web-*/ "$VSCODE_OUT_PATH"
|
||||
|
||||
# - Some extensions have a .gitignore which excludes their built source from
|
||||
# the npm package so exclude any .gitignore files.
|
||||
# - Exclude Node as we will add it ourselves for the standalone and will not
|
||||
# need it for the npm package.
|
||||
rsync -avh --exclude .gitignore --exclude /node ./lib/vscode-reh-web-*/ "$VSCODE_OUT_PATH"
|
||||
|
||||
# Add the commit, date, our name, links, and enable telemetry. This just makes
|
||||
# telemetry available; telemetry can still be disabled by flag or setting.
|
||||
|
@ -10,7 +10,7 @@ Index: code-server/lib/vscode/src/vs/code/browser/workbench/workbench.ts
|
||||
===================================================================
|
||||
--- code-server.orig/lib/vscode/src/vs/code/browser/workbench/workbench.ts
|
||||
+++ code-server/lib/vscode/src/vs/code/browser/workbench/workbench.ts
|
||||
@@ -350,19 +350,6 @@ class WorkspaceProvider implements IWork
|
||||
@@ -410,19 +410,6 @@ class WorkspaceProvider implements IWork
|
||||
workspace = { folderUri: URI.revive(config.folderUri) };
|
||||
} else if (config.workspaceUri) {
|
||||
workspace = { workspaceUri: URI.revive(config.workspaceUri) };
|
||||
|
Loading…
Reference in New Issue
Block a user