| 1 | #!/bin/bash |
| 2 | set -eu |
| 3 | |
| 4 | rm -Rf src/ |
| 5 | git clone https://github.com/galfar/imaginglib src/ |
| 6 | cd src/ |
| 7 | |
| 8 | # Remove .git to avoid confusing any git client, the repo of this is CGE repo. |
| 9 | # Workaround "Permission denied" on GIT for Windows, see https://stackoverflow.com/a/59019201 |
| 10 | chmod -R a+w .git |
| 11 | rm -Rf .git |
| 12 | |
| 13 | # We add Vampyre units through castle_base package (in Lazarus and Delphi) |
| 14 | # this makes things easier for Lazarus and Delphi users, see CGE packages/README.md . |
| 15 | mv Packages Packages_UnusedByCastleGameEngine |