File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ prepare_mihomo() {
432432 fi
433433
434434 if [[ " ${network_mode} " == @ (mixed| tproxy| redirect| enhance) ]]; then
435- if [[ -n " ${packages_list[*]} " || -n " ${ignore_out_list[*]} " || -n " ${gid_list[*]} " ]] && [ " ${mihomo_enhanced_mode} " = " fake-ip" ]; then
435+ if [[ " ${proxy_mode} " != " core " ]] && [[ -n " ${packages_list[*]} " || -n " ${ignore_out_list[*]} " || -n " ${gid_list[*]} " ]] && [ " ${mihomo_enhanced_mode} " = " fake-ip" ]; then
436436 log Warning " ${proxy_mode} 仅在 mihomo 的 enhanced-mode: redir-host 下生效"
437437 log Warning " 已将 fake-ip 替换为 redir-host"
438438 sed -i " s/enhanced-mode:.*/enhanced-mode: redir-host/g" " ${mihomo_config} "
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ handle_choice() {
135135 local question=" $1 "
136136 local choice_yes=" ${2:- 是} "
137137 local choice_no=" ${3:- 否} "
138- local timeout_seconds=" ${4:- 5 } "
138+ local timeout_seconds=" ${4:- 10 } "
139139
140140 ui_print " "
141141 ui_print " -----------------------------------------------------------"
You can’t perform that action at this time.
0 commit comments