Files
sing-box/sing-box.sh
frederic b1c634a0cc feat: add AnyTLS protocol support
- Add AnyTLS to protocol list and README
- Support self-signed TLS (default) and ACME auto-cert with domain
- Auto-detect sing-box version: use certificate_provider (>= 1.14.0)
  or tls.acme (older versions)
- Usage: sing-box add anytls [port] [password] [domain]
- Generate anytls:// share links
- Handle config read-back for change/info operations

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-04-14 21:57:43 +08:00

6 lines
68 B
Bash

#!/bin/bash
args=$@
is_sh_ver=v1.16
. /etc/sing-box/sh/src/init.sh