diff --git a/.gitignore b/.gitignore index 3d372d7225..571361d543 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ thirdparty/nunit* thirdparty/windows/SDL2.dll thirdparty/Mono.Nat.dll thirdparty/nuget.exe +thirdparty/windows/lua51.dll # backup files by various editors *~ diff --git a/thirdparty/fetch-thirdparty-deps-windows.sh b/thirdparty/fetch-thirdparty-deps-windows.sh index e617b71073..e34339c7cd 100755 --- a/thirdparty/fetch-thirdparty-deps-windows.sh +++ b/thirdparty/fetch-thirdparty-deps-windows.sh @@ -15,4 +15,12 @@ if [ ! -f windows/freetype6.dll ]; then nuget install SharpFont -Version 2.5.0.1 cp ./SharpFont.2.5.0.1/Content/freetype6.dll ./windows/ rm -rf SharpFont.2.5.0.1 -fi \ No newline at end of file +fi + +if [ ! -f windows/lua51.dll ]; then + echo "Fetching Lua 5.1 from nuget" + nuget install lua51.redist -Version 5.1.5 + cp ./lua51.redist.5.1.5/build/native/bin/Win32/v120/Release/lua5.1.dll ./windows/lua51.dll + rm -rf lua51.redist.5.1.5 +fi + diff --git a/thirdparty/fetch-thirdparty-deps.ps1 b/thirdparty/fetch-thirdparty-deps.ps1 index a8dc6e8720..49fb7ee931 100644 --- a/thirdparty/fetch-thirdparty-deps.ps1 +++ b/thirdparty/fetch-thirdparty-deps.ps1 @@ -69,5 +69,13 @@ if (!(Test-Path "Mono.Nat.dll")) echo "Fetching Mono.Nat from NuGet." ./nuget.exe install Mono.Nat -Version 1.2.21 cp Mono.Nat.1.2.21.0/lib/net40/Mono.Nat.dll . - rmdir Mono.Nat.1.2.21.0 -Recurse -} \ No newline at end of file + rmdir Mono.Nat.1.2.21.0 -Recurse +} + +if (!(Test-Path "windows/lua51.dll")) +{ + echo "Fetching Lua 5.1 from NuGet." + ./nuget.exe install lua51.redist -Version 5.1.5 + cp lua51.redist.5.1.5/build/native/bin/Win32/v120/Release/lua5.1.dll ./windows/lua51.dll + rmdir lua51.redist.5.1.5 -Recurse +} diff --git a/thirdparty/windows/lua51.dll b/thirdparty/windows/lua51.dll deleted file mode 100644 index 9eb7113dff..0000000000 Binary files a/thirdparty/windows/lua51.dll and /dev/null differ