We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XDG 标准目前被大多数桌面环境支持,而现在 GTK QQ 的数据存放位置是 $HOME/.gtk-qq,会使用户的 $HOME 文件夹在显示隐藏文件时看起来更杂乱。按照 XDG 标准存放后绝大多数数据都会按照用途分别放在 .config,.cache,.local 下,对于强迫症的体验上会更好(
$HOME/.gtk-qq
.config
.cache
.local
标准页面: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
The text was updated successfully, but these errors were encountered:
@Goodjooy 要不你看下这个,毕竟数据存储这块儿是你之前重构过的(
Sorry, something went wrong.
我找到的XDG crate [https://docs.rs/xdg/2.4.1/xdg/] 没有gnu Windows 平台支持(只支持Msvc),目前有些调试困难
XDG 标准目前被大多数桌面环境支持,而现在 GTK QQ 的数据存放位置是 $HOME/.gtk-qq,会使用户的 $HOME 文件夹在显示隐藏文件时看起来更杂乱。按照 XDG 标准存放后绝大多数数据都会按照用途分别放在 .config,.cache,.local 下,对于强迫症的体验上会更好( 标准页面: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
严格上只是将config 文件放在 $HOME/.gtk-qq ,你可以通过修改 config.toml 中的 resource_root 来修改资源存放、加载根目录。全部放在$HOME/.gtk-qq 是为了兼容原来的资源实现从而选择的默认位置
config.toml
resource_root
Closes as finished in #30
Goodjooy
No branches or pull requests
XDG 标准目前被大多数桌面环境支持,而现在 GTK QQ 的数据存放位置是
$HOME/.gtk-qq
,会使用户的 $HOME 文件夹在显示隐藏文件时看起来更杂乱。按照 XDG 标准存放后绝大多数数据都会按照用途分别放在.config
,.cache
,.local
下,对于强迫症的体验上会更好(标准页面:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
The text was updated successfully, but these errors were encountered: