mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-25 09:53:28 +03:00
16 lines
272 B
Bash
Executable File
16 lines
272 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FILE="../patches/${1}.patch"
|
|
|
|
cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
|
|
|
git apply --reject "${FILE}"
|
|
|
|
read -p "Press any key when the conflict have been resolved..." -n1 -s
|
|
|
|
git diff -U1 > "${FILE}"
|
|
|
|
cd ..
|
|
|
|
echo "The patch has been generated."
|