Migrate to Open.Nat version 2.0.16

Move the dependency from all libraries to game engine only.
Initialize after the renderer setup to ensure a visible window.
This commit is contained in:
Matthias Mailänder
2016-05-15 11:27:15 +02:00
parent 38295341a8
commit 5245df729d
15 changed files with 81 additions and 155 deletions

View File

@@ -86,12 +86,12 @@ if (!(Test-Path "windows/SDL2.dll"))
rm -path "$currentPath\windows\README-SDL.txt"
}
if (!(Test-Path "Mono.Nat.dll"))
if (!(Test-Path "Open.Nat.dll"))
{
echo "Fetching Mono.Nat from NuGet."
./nuget.exe install Mono.Nat -Version 1.2.24 -ExcludeVersion
cp Mono.Nat/lib/net40/Mono.Nat.dll .
rmdir Mono.Nat -Recurse
echo "Fetching Open.Nat from NuGet."
./nuget.exe install Open.Nat -Version 2.0.16 -ExcludeVersion
cp Open.Nat/lib/net45/Open.Nat.dll .
rmdir Open.Nat -Recurse
}
if (!(Test-Path "windows/lua51.dll"))

View File

@@ -83,11 +83,11 @@ if [ ! -f nunit3-console.exe ]; then
rm -rf NUnit.Console
fi
if [ ! -f Mono.Nat.dll ]; then
echo "Fetching Mono.Nat from NuGet"
get Mono.Nat 1.2.24
cp ./Mono.Nat/lib/net40/Mono.Nat.dll .
rm -rf Mono.Nat
if [ ! -f Open.Nat.dll ]; then
echo "Fetching Open.Nat from NuGet"
get Open.Nat 2.0.16
cp ./Open.Nat/lib/net45/Open.Nat.dll .
rm -rf Open.Nat
fi
if [ ! -f FuzzyLogicLibrary.dll ]; then