TLS1.2 Support for compact.bat

This commit is contained in:
Chris Long
2019-05-10 17:13:23 -07:00
committed by GitHub
parent b9ec44d902
commit 9029a95ee9

View File

@@ -1,3 +1,4 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
if not exist "C:\Windows\Temp\7z1900-x64.msi" (
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.7-zip.org/a/7z1900-x64.msi', 'C:\Windows\Temp\7z1900-x64.msi')" <NUL
)