mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-06 02:02:25 +00:00
[ci skip] Updated installer to support powershell older than 3.0
This commit is contained in:
parent
db072e767a
commit
6896ef650e
@ -705,7 +705,7 @@ sub get_windows_wget {
|
|||||||
if (!-d "bin") {
|
if (!-d "bin") {
|
||||||
mkdir("bin");
|
mkdir("bin");
|
||||||
}
|
}
|
||||||
`powershell -Command "\$ProgressPreference = 'SilentlyContinue'; Invoke-RestMethod -ContentType \"application/octet-stream\" -Uri https://raw.githubusercontent.com/Akkadius/eqemu-install-v2/master/windows/wget.exe -OutFile bin/wget.exe"`
|
`powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/Akkadius/eqemu-install-v2/master/windows/wget.exe', 'bin\\wget.exe') "`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user