~拆分组件

This commit is contained in:
juewuy
2025-12-20 20:31:06 +08:00
parent 9a2d98a6b8
commit ac8f225c4f
2 changed files with 26 additions and 0 deletions

View File

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