mirror of
https://github.com/VSCodium/vscodium.git
synced 2025-01-03 14:52:19 +03:00
Add ability to apply user specific patches to vscode source
This commit is contained in:
parent
8bb2491be1
commit
64e101b963
1
patches/user/readme.txt
Normal file
1
patches/user/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
store user patches at location patches/user and those will be applied to vscode source git by the scripts
|
@ -12,6 +12,14 @@ patch -u src/vs/platform/update/electron-main/updateService.win32.ts -i ../patch
|
||||
patch -u resources/linux/rpm/code.spec.template -i ../patches/fix-rpm-spec.patch
|
||||
git apply --ignore-whitespace ../patches/binary-name.patch
|
||||
git apply --ignore-whitespace ../patches/custom-gallery.patch
|
||||
for file in ../patches/user/*.patch; do
|
||||
if [ -f "$file" ]; then
|
||||
echo applying user patch: $file;
|
||||
if ! git apply --ignore-whitespace $file; then
|
||||
echo failed to apply patch $file 1>&2
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "$OS_NAME" == "osx" ]]; then
|
||||
CHILD_CONCURRENCY=1 yarn --frozen-lockfile --ignore-optional
|
||||
|
Loading…
Reference in New Issue
Block a user