终于把 Claude Code 在 Mac 应用里面拉的这个 Claude Code URL Handler app 给干掉了,没有图标很丑,一直是强迫症很讨厌的,甚至直接卸载没有用,其实你只需要在~/.claude/settings.json 里加上 disableDeepLinkRegistration = "disable" 即可。

为什么即使卸载了,还会出现,就是 claude 的骚操作了,对应 CLI 里这段判断,每次启动的自动注册函数最开头 会有 if (Wo().disableDeepLinkRegistration === "disable") return; 相当于你必须主动设置上 disableDeepLinkRegistration 这个,才不会去检查,不然每次会帮你重新生成一个