Merge pull request #12546 from Mailaender/sdl2-2.0.5

Updated Windows SDL2 to version 2.0.5
This commit is contained in:
abcdefg30
2017-01-21 23:46:47 +01:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -19,9 +19,9 @@ function get()
if [ ! -f SDL2.dll ]; then
echo "Fetching SDL2 from libsdl.org"
wget https://www.libsdl.org/release/SDL2-2.0.4-win32-x86.zip
unzip SDL2-2.0.4-win32-x86.zip SDL2.dll
rm SDL2-2.0.4-win32-x86.zip
wget https://www.libsdl.org/release/SDL2-2.0.5-win32-x86.zip
unzip SDL2-2.0.5-win32-x86.zip SDL2.dll
rm SDL2-2.0.5-win32-x86.zip
fi
if [ ! -f freetype6.dll ]; then

View File

@@ -70,7 +70,7 @@ if (!(Test-Path "windows/SDL2.dll"))
echo "Fetching SDL2 from libsdl.org"
# Download zip:
$zipFileName = "SDL2-2.0.4-win32-x86.zip"
$zipFileName = "SDL2-2.0.5-win32-x86.zip"
$target = Join-Path $pwd.ToString() $zipFileName
(New-Object System.Net.WebClient).DownloadFile("https://www.libsdl.org/release/" + $zipFileName, $target)
@@ -82,7 +82,7 @@ if (!(Test-Path "windows/SDL2.dll"))
$destination.Copyhere($zipFile.items())
# Remove junk files:
rm SDL2-2.0.4-win32-x86.zip
rm SDL2-2.0.5-win32-x86.zip
rm -path "$currentPath\windows\README-SDL.txt"
}