This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # https://github.com/GeorgianaBlake/AnyTLS | |
| # AnyTLS一键管理脚本:安装/更新/查看/更改端口/更改密码/删除 | |
| # 适配 Debian/Ubuntu (apt) 与 CentOS/RHEL/Alma/Rocky | |
| # 兼容 arm64 和 amd64 两种系统架构 | |
| set -euo pipefail | |
| CONFIG_DIR="/etc/AnyTLS" # 配置目录 | |
| ANYTLS_SNAP_DIR="/tmp/anytls_install_$$" # 临时目录 |