mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Recommend Users Blocked By Antivirus a Way to Curl Prysm.sh (#6019)
* recommend no revoke * Merge refs/heads/master into antivirus
This commit is contained in:
parent
979c0074c7
commit
9a2c684628
@ -47,7 +47,7 @@ if %WinOS%==64BIT (
|
|||||||
mkdir %wrapper_dir%
|
mkdir %wrapper_dir%
|
||||||
|
|
||||||
REM get_prysm_version - Find the latest Prysm version available for download.
|
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 [37mLatest prysm release is %prysm_version%.[0m
|
echo [37mLatest prysm release is %prysm_version%.[0m
|
||||||
IF defined USE_PRYSM_VERSION (
|
IF defined USE_PRYSM_VERSION (
|
||||||
echo [33mdetected variable USE_PRYSM_VERSION=%USE_PRYSM_VERSION%[0m
|
echo [33mdetected variable USE_PRYSM_VERSION=%USE_PRYSM_VERSION%[0m
|
||||||
|
2
prysm.sh
2
prysm.sh
@ -107,7 +107,7 @@ function get_prysm_version() {
|
|||||||
else
|
else
|
||||||
# Find the latest Prysm version available for download.
|
# Find the latest Prysm version available for download.
|
||||||
readonly reason="automatically selected latest available version"
|
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
|
readonly prysm_version
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user