mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 15:41:30 +00:00
[Installer] Swap unstable powershell download for Perl LWP::Simple call
This commit is contained in:
parent
410ba4b19a
commit
ba64d6f494
@ -705,7 +705,8 @@ sub get_windows_wget {
|
||||
if (!-d "bin") {
|
||||
mkdir("bin");
|
||||
}
|
||||
`powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/Akkadius/eqemu-install-v2/master/windows/wget.exe', 'bin\\wget.exe') "`
|
||||
eval "use LWP::Simple qw(getstore);";
|
||||
getstore("https://raw.githubusercontent.com/Akkadius/eqemu-install-v2/master/windows/wget.exe", "bin\\wget.exe");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user