支持 XDG 基础目录规范 (也称为停止填充我的 ~ 目录)

作者: frebib创建于 2019年7月16日更新于 2026年9月28日

https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html 我们应该首先尝试使用 `$XDG_CONFIG_HOME/cloudflared` 而不是 `~/.cloudflared` 等。现在这个标准已经得到广泛接受了。请考虑修改目录结构。

内容来源: cloudflare/cloudflared