mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Fixed SpartanJ/ecode#424 , SDL2 not being pulled correctly.
This commit is contained in:
@@ -41,7 +41,7 @@ fi
|
||||
|
||||
../make.sh -e config="$BUILDTYPE"_"$ARCH" -j"$(nproc)" ecode || exit
|
||||
|
||||
SDLVER=$(grep "remote_sdl2_version =" ../../../premake5.lua | awk '{print $3}' | tr -d '"')
|
||||
SDLVER=$(grep "remote_sdl2_version_number =" ../../../premake5.lua | awk '{print $3}' | tr -d '"')
|
||||
rm -rf ./ecode
|
||||
mkdir -p ecode/assets
|
||||
cp ../../../bin/ecode.exe ecode/
|
||||
@@ -50,7 +50,7 @@ cp ../../../bin/eepp.dll ecode/
|
||||
if [[ "$ARCH_CONFIG" == "arm64" ]]; then
|
||||
cp "/usr/local/cross-tools/aarch64-w64-mingw32/bin/SDL2.dll" ecode/
|
||||
else
|
||||
cp ../../../src/thirdparty/"$SDLVER"/$ARCHI-w64-mingw32/bin/SDL2.dll ecode/
|
||||
cp ../../../src/thirdparty/"SDL2-$SDLVER"/$ARCHI-w64-mingw32/bin/SDL2.dll ecode/
|
||||
fi
|
||||
|
||||
mkdir -p ecode/assets/colorschemes
|
||||
|
||||
Reference in New Issue
Block a user