diff --git a/.gitignore b/.gitignore index 1cddda698a..f66b832fbc 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ thirdparty/windows/lua51.dll thirdparty/windows/zlib1.dll thirdparty/windows/soft_oal.dll thirdparty/FuzzyLogicLibrary.dll +thirdparty/SDL2-CS.dll # backup files by various editors *~ diff --git a/thirdparty/SDL2-CS.dll b/thirdparty/SDL2-CS.dll deleted file mode 100644 index f0862452d7..0000000000 Binary files a/thirdparty/SDL2-CS.dll and /dev/null differ diff --git a/thirdparty/fetch-thirdparty-deps.ps1 b/thirdparty/fetch-thirdparty-deps.ps1 index 0f9eff630a..5a0a5de0f9 100644 --- a/thirdparty/fetch-thirdparty-deps.ps1 +++ b/thirdparty/fetch-thirdparty-deps.ps1 @@ -121,3 +121,10 @@ if (!(Test-Path "FuzzyLogicLibrary.dll")) cp FuzzyLogicLibrary/bin/Release/FuzzyLogicLibrary.dll . rmdir FuzzyLogicLibrary -Recurse } + +if (!(Test-Path "SDL2-CS.dll")) +{ + echo "Fetching SDL2 C# from GitHub." + $target = Join-Path $pwd.ToString() "SDL2-CS.dll" + (New-Object System.Net.WebClient).DownloadFile("https://github.com/OpenRA/SDL2-CS/releases/download/20140407/SDL2-CS.dll", $target) +} diff --git a/thirdparty/fetch-thirdparty-deps.sh b/thirdparty/fetch-thirdparty-deps.sh index 639f6688dd..f73771f519 100755 --- a/thirdparty/fetch-thirdparty-deps.sh +++ b/thirdparty/fetch-thirdparty-deps.sh @@ -72,3 +72,8 @@ if [ ! -f FuzzyLogicLibrary.dll ]; then cp ./FuzzyLogicLibrary/bin/Release/FuzzyLogicLibrary.dll . rm -rf FuzzyLogicLibrary fi + +if [ ! -f SDL2-CS.dll ]; then + echo "Fetching SDL2-CS from GitHub." + wget https://github.com/OpenRA/SDL2-CS/releases/download/20140407/SDL2-CS.dll +fi