File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,29 +21,25 @@ for arg in "$@"; do
2121 esac
2222done
2323
24- # shellcheck source=scripts/core/common.sh
2524source " $PROJECT_DIR /scripts/core/common.sh"
26- # shellcheck source=scripts/core/runtime.sh
2725source " $PROJECT_DIR /scripts/core/runtime.sh"
28- # shellcheck source=scripts/core/config.sh
2926source " $PROJECT_DIR /scripts/core/config.sh"
30- # shellcheck source= scripts/init/systemd .sh
27+ source " $PROJECT_DIR / scripts/core/proxy .sh"
3128source " $PROJECT_DIR /scripts/init/systemd.sh"
32- # shellcheck source=scripts/init/systemd-user.sh
3329source " $PROJECT_DIR /scripts/init/systemd-user.sh"
34- # shellcheck source=scripts/init/script.sh
3530source " $PROJECT_DIR /scripts/init/script.sh"
3631
3732init_project_context " $PROJECT_DIR "
3833load_env_if_exists
3934detect_install_scope auto
4035
36+ system_proxy_disable || true
37+ clear_shell_proxy_persist_state || true
4138service_stop || true
4239remove_runtime_entry || true
4340remove_clashctl_entry || true
4441remove_clashctl_completion || true
4542remove_shell_alias_entry || true
46- clear_shell_proxy_persist_state || true
4743
4844if [ " $PURGE_RUNTIME " = " true" ]; then
4945 rm -rf " $RUNTIME_DIR "
You can’t perform that action at this time.
0 commit comments