add notes
parent
a60fd77416
commit
b37ee5165d
|
@ -214,6 +214,7 @@ getVersion() {
|
||||||
fi
|
fi
|
||||||
# Get V2Ray release version number
|
# Get V2Ray release version number
|
||||||
TMP_FILE="$(mktemp)"
|
TMP_FILE="$(mktemp)"
|
||||||
|
# Avoid errors when installing cURL for the first time
|
||||||
/usr/bin/curl ${PROXY} -o "$TMP_FILE" https://api.github.com/repos/v2ray/v2ray-core/releases/latest -s
|
/usr/bin/curl ${PROXY} -o "$TMP_FILE" https://api.github.com/repos/v2ray/v2ray-core/releases/latest -s
|
||||||
if [[ "$?" -ne '0' ]]; then
|
if [[ "$?" -ne '0' ]]; then
|
||||||
rm "$TMP_FILE"
|
rm "$TMP_FILE"
|
||||||
|
|
Loading…
Reference in New Issue