Files
SpotX/Install.bat
amd64fox 1999acb1f1 Invalid environment variable
- Fixed incorrect PowerShell environment variable if launched from a bat file (Thanks @fastnicky69) https://github.com/amd64fox/SpotX/issues/101
2022-08-04 16:20:27 +03:00

7 lines
327 B
Batchfile

@echo off
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}"
pause
exit /b