From 0c720a1e0104504c25d3e86d06e8847f06264ab9 Mon Sep 17 00:00:00 2001 From: janssen <118828444+janssen-tiobe@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:48:56 +0200 Subject: [PATCH] #35182: Removed powershell ExecutionPolicy bypass --- .../kotlin/com/tiobe/plugins/intellij/install/InstallTics.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/tiobe/plugins/intellij/install/InstallTics.kt b/src/main/kotlin/com/tiobe/plugins/intellij/install/InstallTics.kt index c4b61ef..f46d0d8 100644 --- a/src/main/kotlin/com/tiobe/plugins/intellij/install/InstallTics.kt +++ b/src/main/kotlin/com/tiobe/plugins/intellij/install/InstallTics.kt @@ -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(