Add deps getter script

This commit is contained in:
Lycoder
2023-06-11 23:52:41 -03:00
parent f0f6101e9d
commit 011dd9cac0
3 changed files with 12 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ build-win32/
imgui/
res/
sdl2/
SDL2-2.26.5/
test/
*.bin
*.dll
+10
View File
@@ -0,0 +1,10 @@
Remove-Item -Recurse "SDL2-2.26.5"
$URL = "https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-mingw.zip"
Invoke-WebRequest -URI $URL -OutFile "sdl2.zip"
Expand-Archive "sdl2.zip" -DestinationPath "."
Remove-Item "sdl2.zip"
Copy-Item -Path "SDL2-2.26.5\x86_64-w64-mingw32\bin\SDL2.dll" -Destination bin
+1 -1
View File
@@ -1,4 +1,4 @@
$SDL2_DIR = "sdl2\x86_64-w64-mingw32"
$SDL2_DIR = "SDL2-2.26.5\x86_64-w64-mingw32"
$PSX_DIR = "."
mkdir -Force -Path bin > $null