mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-29 05:41:29 +00:00
Merge pull request #1070 from alimalkhalifa/installer/support_powershell2
Updated installer to support powershell older than 3.0
This commit is contained in:
commit
a3874b5252
@ -705,7 +705,7 @@ sub get_windows_wget {
|
||||
if (!-d "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