2019-05-07 10:18:04 +03:00
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
|
|
|
|
New-Item -Force -ItemType Directory -Path ".\deps\"
|
2021-10-28 14:00:43 +03:00
|
|
|
Invoke-WebRequest 'https://github.com/nelsonjchen/mDNSResponder/releases/download/v2019.05.08.1/x64_RelWithDebInfo.zip' -OutFile 'deps\BonjourSDKLike.zip' ;
|
2019-05-07 10:18:04 +03:00
|
|
|
Write-Output 'Downloaded BonjourSDKLike Zip'
|
|
|
|
Write-Output 'Unzipping BonjourSDKLike Zip'
|
|
|
|
Remove-Item -Recurse -Force -ErrorAction Ignore .\deps\BonjourSDKLike
|
|
|
|
Expand-Archive .\deps\BonjourSDKLike.zip -DestinationPath .\deps\BonjourSDKLike
|
|
|
|
Write-Output 'Installed BonjourSDKLike Zip'
|
|
|
|
Remove-Item deps\BonjourSDKLike.zip
|
|
|
|
Write-Output 'Deleted BonjourSDKLike Zip'
|