|
|
|
@ -3,8 +3,14 @@ $dir = Split-Path $scriptpath |
|
|
|
Push-Location $dir |
|
|
|
|
|
|
|
Add-Type -AssemblyName System.IO.Compression.FileSystem |
|
|
|
|
|
|
|
rm -Force -Recurse .\native -ErrorAction SilentlyContinue |
|
|
|
mkdir native |
|
|
|
$url = cat native.url |
|
|
|
Invoke-WebRequest $url -OutFile native\native.zip |
|
|
|
[System.IO.Compression.ZipFile]::ExtractToDirectory("native\native.zip", "native") |
|
|
|
|
|
|
|
$nativedir = join-path $dir "native" |
|
|
|
$nativezip = join-path $nativedir "native.zip" |
|
|
|
|
|
|
|
Invoke-WebRequest $url -OutFile $nativezip |
|
|
|
[System.IO.Compression.ZipFile]::ExtractToDirectory(($nativezip), ($nativedir)) |
|
|
|
Pop-Location |