|
|
|
@ -185,6 +185,7 @@ input(){ |
|
|
|
[ $i -gt 1 ] && NOT_BLANK="$(eval echo "\${${T}[4]}") " && [ $i = 6 ] && red "\n $(eval echo "\${${T}[5]}") " && exit 1 |
|
|
|
[ $i -gt 1 ] && NOT_BLANK="$(eval echo "\${${T}[4]}") " && [ $i = 6 ] && red "\n $(eval echo "\${${T}[5]}") " && exit 1 |
|
|
|
reading "\n ${NOT_BLANK}$(eval echo "\${${T}[6]}") " URL |
|
|
|
reading "\n ${NOT_BLANK}$(eval echo "\${${T}[6]}") " URL |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
[ -n "$URL" ] && URL="-u $URL" |
|
|
|
yellow "\n $(eval echo "\${${T}[7]}") " |
|
|
|
yellow "\n $(eval echo "\${${T}[7]}") " |
|
|
|
reading "\n $(eval echo "\${${T}[8]}") " INCLUDE_REMARK |
|
|
|
reading "\n $(eval echo "\${${T}[8]}") " INCLUDE_REMARK |
|
|
|
[ -n "$INCLUDE_REMARK" ] && INCLUDE_REMARK="--include-remark $INCLUDE_REMARK" |
|
|
|
[ -n "$INCLUDE_REMARK" ] && INCLUDE_REMARK="--include-remark $INCLUDE_REMARK" |
|
|
|
@ -230,7 +231,7 @@ check_ssrspeedn(){ |
|
|
|
|
|
|
|
|
|
|
|
test(){ |
|
|
|
test(){ |
|
|
|
green "\n $(eval echo "\${${T}[16]}") \n" |
|
|
|
green "\n $(eval echo "\${${T}[16]}") \n" |
|
|
|
sudo python3 -m ssrspeed -u "$URL" "$INCLUDE_REMARK" "$EXCLUDE_REMARK" "$GROUP" "$RESULT_COLOR" "$SORT_METHOD" --yes --skip-requirements-check |
|
|
|
sudo python3 -m ssrspeed $URL $INCLUDE_REMARK $EXCLUDE_REMARK $GROUP $RESULT_COLOR $SORT_METHOD --yes --skip-requirements-check |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
uninstall(){ |
|
|
|
uninstall(){ |
|
|
|
|