Comments (4)
@Goodjooy 要不你看下这个,毕竟数据存储这块儿是你之前重构过的(
from gtk-qq.
@Goodjooy 要不你看下这个,毕竟数据存储这块儿是你之前重构过的(
我找到的XDG crate [https://docs.rs/xdg/2.4.1/xdg/] 没有gnu Windows 平台支持(只支持Msvc),目前有些调试困难
from gtk-qq.
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
是为了兼容原来的资源实现从而选择的默认位置
from gtk-qq.
Closes as finished in #30
from gtk-qq.
Related Issues (20)
- thread 'main' panicked at 'str::ToGlibPtr<*const c_char>: unexpected '' HOT 7
- app crashed when model.render_friends().unwrap() HOT 1
- Not responding when receiving messages
- Preparation for v0.1.0 HOT 1
- `spawn_local` called from outside of a `task::LocalSet` HOT 1
- 无法成功加载群聊名称 HOT 4
- Auto login greyed out HOT 2
- [求助]openSUSE/Tumbleweed下编译的正确步骤 HOT 2
- Unable to login: timeout error HOT 2
- "Device Lock Verify Introduction" 的链接为<unknown> HOT 5
- invalid gvdb header HOT 2
- 长文本挤在一行 HOT 1
- Add Linux package build scripts in Github Action CI HOT 1
- 登录验证问题
- 当前版本过低,请升级至最新版本 HOT 3
- Scroll down chatroom view aumatically when pushing new message. HOT 2
- login response: NeedCaptcha HOT 12
- Roadmap for v0.2.0 HOT 1
- rust依赖 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtk-qq.