replace wget with Invoke-WebRequest

This commit is contained in:
LukeFZ
2023-12-01 10:51:55 +01:00
parent 3e5622ac37
commit c2cb88ad81

View File

@@ -3,6 +3,6 @@
# Download the latest set of plugins to a temporary file, extract the archive then delete it # Download the latest set of plugins to a temporary file, extract the archive then delete it
$temp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru $temp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru
wget -OutFile $temp https://github.com/djkaty/Il2CppInspectorPlugins/releases/latest/download/plugins.zip Invoke-WebRequest -OutFile $temp https://github.com/djkaty/Il2CppInspectorPlugins/releases/latest/download/plugins.zip
Expand-Archive -Path $temp -DestinationPath $pwd -Force Expand-Archive -Path $temp -DestinationPath $pwd -Force
del $temp del $temp