~首次添加节点订阅时,不再显示生成选项

This commit is contained in:
juewuy
2026-04-04 20:23:33 +08:00
parent 987ef6ab22
commit 47c7331623

View File

@@ -143,9 +143,9 @@ setproviders() {
content_line "d) $CORECFG_DEL_PROVIDER"
content_line ""
content_line "\033[36m$CORECFG_MORE_CONFIG_HINT\033[0m"
[ -n "$link" ] &&
[ -n "$2" ] &&
content_line "b) $CORECFG_GEN_LOCAL_ONE"
echo "$link$link_uri" | grep -q '://' &&
echo "$2" | grep -q '://' &&
content_line "c) $CORECFG_GEN_ONLINE_ONE"
echo "$link" | grep -q '^http' &&
content_line "e) $CORECFG_GET_ONLINE_DIRECT"