Fix vscode exts binaries

This commit is contained in:
Jan Schär 2024-05-13 22:48:35 +02:00
parent 58fedcfc70
commit d98a45a70b
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ for ext in *; do
fi fi
done done
popd popd
# Some extensions contain binaries which must be made executable.
# Because the files are now owned by root, extensions can't do that themselves.
# This just makes all files executable.
chmod --recursive +x /usr/local/lib/vscode-extensions/
# Enable codeblocks template. # Enable codeblocks template.
sed -i 's|// project wizards|RegisterWizard(wizProject, _T("soi"), _T("A SOI task"), _T("Console"));|' /usr/share/codeblocks/templates/wizard/config.script sed -i 's|// project wizards|RegisterWizard(wizProject, _T("soi"), _T("A SOI task"), _T("Console"));|' /usr/share/codeblocks/templates/wizard/config.script