diff options
Diffstat (limited to 'development/vscode/vscode.SlackBuild')
-rw-r--r-- | development/vscode/vscode.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/development/vscode/vscode.SlackBuild b/development/vscode/vscode.SlackBuild index 6390a5cae8..ba70445420 100644 --- a/development/vscode/vscode.SlackBuild +++ b/development/vscode/vscode.SlackBuild @@ -62,6 +62,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/vscode-$VERSION.patch ./scripts/npm.sh install --arch=$BUILDARCH --unsafe-perm ./node_modules/.bin/gulp vscode-linux-${BUILDARCH}-min @@ -82,7 +83,7 @@ install -m644 "${CWD}/${PRGNAM}.desktop" "${PKG}/usr/share/applications/${PRGNAM # copy vscode icon mkdir -p "${PKG}/usr/share/icons" install -m644 "${PKG}/opt/${PRGNAM}-${VERSION}/resources/app/resources/linux/code.png" \ - "${PKG}/usr/share/icons/${PRGNAM}.png" + "${PKG}/usr/share/icons/${PRGNAM}.png" # copy license and slackbuild mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION" |