Skip to content

Commit

Permalink
Recommend Users Blocked By Antivirus a Way to Curl Prysm.sh (#6019)
Browse files Browse the repository at this point in the history
* recommend no revoke
* Merge refs/heads/master into antivirus
  • Loading branch information
rauljordan committed May 28, 2020
1 parent 979c007 commit 9a2c684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prysm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if %WinOS%==64BIT (
mkdir %wrapper_dir%

REM get_prysm_version - Find the latest Prysm version available for download.
(for /f %%i in ('curl -f -s https://prysmaticlabs.com/releases/latest') do set prysm_version=%%i) || (echo [31mERROR: Starting prysm requires an internet connection. [0m && exit /b 1)
(for /f %%i in ('curl -f -s https://prysmaticlabs.com/releases/latest') do set prysm_version=%%i) || (echo [31mERROR: Starting prysm requires an internet connection. If you are being blocked by your antivirus, you can re-run with --ssl-no-revoke [0m && exit /b 1)
echo Latest prysm release is %prysm_version%.
IF defined USE_PRYSM_VERSION (
echo detected variable USE_PRYSM_VERSION=%USE_PRYSM_VERSION%
Expand Down
2 changes: 1 addition & 1 deletion prysm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function get_prysm_version() {
else
# Find the latest Prysm version available for download.
readonly reason="automatically selected latest available version"
prysm_version=$(curl -f -s https://prysmaticlabs.com/releases/latest) || (color "31" "Starting prysm requires an internet connection." && exit 1)
prysm_version=$(curl -f -s https://prysmaticlabs.com/releases/latest) || (color "31" "Starting prysm requires an internet connection. If you are being blocked by your antivirus, you can re-run with --ssl-no-revoke" && exit 1)
readonly prysm_version
fi
}
Expand Down

0 comments on commit 9a2c684

Please sign in to comment.