mirror of
https://github.com/coder/code-server.git
synced 2026-09-17 04:56:08 +02:00
Fix the windows arms of the release build scripts (#7986)
This commit is contained in:
@@ -116,6 +116,7 @@ bundle_vscode() {
|
||||
|
||||
# Exclude Node since we want to place it in a directory above.
|
||||
rsync_opts+=(--exclude /node)
|
||||
rsync_opts+=(--exclude /node.exe)
|
||||
|
||||
# Exclude Node modules. Note that these will already only include production
|
||||
# dependencies, so if we do keep them there is no need to do any
|
||||
@@ -128,7 +129,11 @@ bundle_vscode() {
|
||||
|
||||
# Copy the Node binary.
|
||||
if [[ $KEEP_MODULES = 1 ]]; then
|
||||
cp "./lib/vscode-reh-web-$VSCODE_TARGET/node" "$RELEASE_PATH/lib"
|
||||
if [ "$OS" = windows ]; then
|
||||
cp "./lib/vscode-reh-web-$VSCODE_TARGET/node.exe" "$RELEASE_PATH/lib"
|
||||
else
|
||||
cp "./lib/vscode-reh-web-$VSCODE_TARGET/node" "$RELEASE_PATH/lib"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Merge the package.json for the web/remote server so we can include
|
||||
|
||||
Reference in New Issue
Block a user