Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
Signed-off-by: seagullz4 <[email protected]>
  • Loading branch information
seagullz4 authored Nov 13, 2024
1 parent 75fae0c commit 5870afa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@ auth:
type: password
password: Se7RAuFZ8Lzg
masquerade:
type: proxy
file:
Expand Down Expand Up @@ -777,11 +779,9 @@ else
email="${random_part}@gmail.com"
fi

yaml_content="acme:\n domains:\n - $domain\n email: $email"

if [ -f "config.yaml" ]; then
echo -e "\nAppending to config.yaml..."
echo -e $yaml_content >> config.yaml
sed -i '3i\acme:\n domains:\n - '$domain'\n email: '$email'' config.yaml
echo "$(random_color '域名和邮箱已添加到 config.yaml 文件。')"
ipta="iptables"
choice2="false"
Expand Down

0 comments on commit 5870afa

Please sign in to comment.