mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
8 lines
209 B
Bash
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"
|
|
}
|
|
} |