diff --git a/installGo.ps1 b/installGo.ps1 index d12f2f5..493c92b 100644 --- a/installGo.ps1 +++ b/installGo.ps1 @@ -3,7 +3,7 @@ param( [string]$w='c:\go', [string]$v='1.21.1' ) - +Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $env:GOPATH= 'C:\go'