TLS1.2 Support for compact.bat
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||||
if not exist "C:\Windows\Temp\7z1900-x64.msi" (
|
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
|
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://www.7-zip.org/a/7z1900-x64.msi', 'C:\Windows\Temp\7z1900-x64.msi')" <NUL
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user