Enforce Node binary permissions

In some cases it may have extra write permissions.
This commit is contained in:
Asher 2023-06-21 11:00:52 -08:00
parent cef2aa22dc
commit 56d10d82bf
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ main() {
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
rsync "$node_path" "$RELEASE_PATH/lib/node"
chmod 755 "$RELEASE_PATH/lib/node"
pushd "$RELEASE_PATH"
npm install --unsafe-perm --omit=dev
popd