mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 16:26:29 +00:00
16 lines
525 B
PowerShell
16 lines
525 B
PowerShell
|
# Download and extract the prebuilt openssl libraries provided by the python developers.
|
||
|
# The file is extracted to the .\external directory.
|
||
|
|
||
|
$url = "https://github.com/python/cpython-bin-deps/archive/openssl-bin-1.1.1c.zip"
|
||
|
$dest = "external"
|
||
|
|
||
|
$ErrorActionPreference = "Stop"
|
||
|
|
||
|
Write-Output "Downloading OpenSSL from cpython-bin-deps repository ..."
|
||
|
Invoke-WebRequest $url -OutFile openssl.zip
|
||
|
|
||
|
Write-Output "Extracting OpenSSL"
|
||
|
Expand-Archive -Path openssl.zip -DestinationPath $dest -Force
|
||
|
|
||
|
Remove-Item -Path openssl.zip
|