We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb3820f commit a9e5842Copy full SHA for a9e5842
2 files changed
install.sh
@@ -41,6 +41,9 @@ prompt_subscription_if_needed
41
42
if [ -n "$(subscription_url 2>/dev/null || true)" ]; then
43
if generate_config; then
44
+ if [ -n "${INSTALL_PENDING_SUBSCRIPTION_URL:-}" ]; then
45
+ write_env_value "CLASH_SUBSCRIPTION_URL" "$INSTALL_PENDING_SUBSCRIPTION_URL"
46
+ fi
47
echo "✨ 订阅已生效"
48
post_install_verify
49
else
scripts/core/config.sh
@@ -2816,7 +2816,7 @@ prompt_subscription_if_needed() {
2816
fi
2817
2818
input_fmt="$(detect_subscription_format "$input_url")"
2819
- write_env_value "CLASH_SUBSCRIPTION_URL" "$input_url"
+ INSTALL_PENDING_SUBSCRIPTION_URL="$input_url"
2820
bootstrap_subscription_from_install_input "$input_url" "$input_fmt" "default"
2821
}
2822
0 commit comments