appveyor: get libusb from github

This commit is contained in:
Dag Heyman 2018-11-09 09:56:44 +01:00
parent b7aa574179
commit 3accc825a0
No known key found for this signature in database
GPG Key ID: 06FC004369E7D338

View File

@ -68,7 +68,7 @@ after_build:
- 7z x ykpers-%YKPERS_VERSION%-%WIN_ARCH%.zip -o".\ykpers"
- ps: Copy-Item .\ykpers\bin\*.dll .\release -Force
- ps: Invoke-WebRequest "http://prdownloads.sourceforge.net/libusb/libusb-$env:LIBUSB_VERSION.7z" -OutFile "libusb-$env:LIBUSB_VERSION.7z" -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::Chrome
- ps: wget "https://github.com/libusb/libusb/releases/download/v$env:LIBUSB_VERSION/libusb-$env:LIBUSB_VERSION.7z" -OutFile "libusb-$env:LIBUSB_VERSION.7z"
- 7z x libusb-%LIBUSB_VERSION%.7z -o".\libusb"
- ps: Copy-Item ".\libusb\$env:LIBUSB_DLL_FOLDER\dll\*.dll" .\release -Force