~拆分工具

This commit is contained in:
juewuy
2025-12-22 21:23:50 +08:00
parent 70eb022859
commit 6338110530
3 changed files with 67 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
setproxy(){
[ -n "$(pidof CrashCore)" ] && {
[ -n "$authentication" ] && auth="$authentication@"
[ -n "$authentication" ] && auth="$authentication@" || auth=""
[ -z "$mix_port" ] && mix_port=7890
export https_proxy="http://${auth}127.0.0.1:$mix_port"
}