Files
ShellCrash/scripts/libs/set_proxy.sh
2025-12-25 15:50:58 +08:00

8 lines
209 B
Bash

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