Skip to content

Commit

Permalink
#35182: Removed powershell ExecutionPolicy bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
janssen-tiobe committed Oct 11, 2024
1 parent 490239d commit 0c720a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ object InstallTics : Disposable {
if (System.getenv("TICSTRUSTSTRATEGY") == "all" || System.getenv("TICSTRUSTSTRATEGY") == "self-signed") {
trustStrategy = "[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {\$true};"
}
return "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; \$env:TICSIDE='INTELLIJ'; $trustStrategy iex ((New-Object System.Net.WebClient).DownloadString('$installUrl')); \$env:TICSIDE=\$null;"
return "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; \$env:TICSIDE='INTELLIJ'; $trustStrategy iex ((New-Object System.Net.WebClient).DownloadString('$installUrl')); \$env:TICSIDE=\$null;"
}

private data class ArtifactsResponse(
Expand Down

0 comments on commit 0c720a1

Please sign in to comment.