mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-18 21:30:05 +10:00
Invalid environment variable
- Fixed incorrect PowerShell environment variable if launched from a bat file (Thanks @fastnicky69) https://github.com/amd64fox/SpotX/issues/101
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
|
||||
powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}"
|
||||
%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
|
||||
|
||||
Reference in New Issue
Block a user