[Installer] Swap unstable powershell download for Perl LWP::Simple call

This commit is contained in:
Akkadius 2021-03-28 20:04:34 -05:00
parent 410ba4b19a
commit ba64d6f494

View File

@ -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");
}
}