UWP: Fix logic to download and copy ANGLE

Fixup errors in #85.

(cherry picked from commit 952f0985e0)
This commit is contained in:
Rémi Verschelde
2024-01-18 09:55:49 +01:00
parent 2f690a7a57
commit bd3ec27eae

View File

@@ -306,7 +306,7 @@ if [ "${build_classical}" == "1" ]; then
## UWP (Classical) ##
if [ ! -d "deps/angle" ]; then
if [ ! -d "deps/angle-uwp" ]; then
echo "Downloading ANGLE binaries from https://github.com/godotengine/godot-build-scripts/releases/tag/_deps/"
mkdir -p deps && cd deps
curl -L -o angle-uwp.7z https://github.com/godotengine/godot-build-scripts/releases/download/_deps/angle-uwp-2.1.13.7z
@@ -318,7 +318,7 @@ if [ "${build_classical}" == "1" ]; then
for arch in ARM Win32 x64; do
cp -r git/misc/dist/uwp_template uwp_template_${arch}
cp deps/angle-uwp/${arch}/libEGL.dll \
cp deps/angle-uwp/${arch}/libGLESv2.dll \
deps/angle-uwp/${arch}/libGLESv2.dll \
uwp_template_${arch}/
cp -r uwp_template_${arch} uwp_template_${arch}_debug
done