Skip to content
New issue

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

[feat(配置导出导入)]: 功能配置(包括已安装插件列表)和用户信息配置(包括uid)分离 #6920

Open
xihale opened this issue Feb 6, 2025 · 3 comments

Comments

@xihale
Copy link

xihale commented Feb 6, 2025

当前状况

所有的配置都会导出到同一个文件内,包括 uid

解决方法

分离功能配置(包括已安装插件列表)和用户信息配置的导出导入功能

最好是再添加一个部分(覆盖)导入的功能,比如我只导入 plugin 项

好处

可以更方便地保存分享功能配置和选项

紧迫程度

不紧

@xihale xihale changed the title [配置导出]: 功能配置(包括已安装插件列表)和用户信息配置(包括uid)分离 [feat(配置导出)]: 功能配置(包括已安装插件列表)和用户信息配置(包括uid)分离 Feb 6, 2025
@xihale xihale changed the title [feat(配置导出)]: 功能配置(包括已安装插件列表)和用户信息配置(包括uid)分离 [feat(配置导出导入)]: 功能配置(包括已安装插件列表)和用户信息配置(包括uid)分离 Feb 6, 2025
@Kenshin
Copy link
Owner

Kenshin commented Feb 6, 2025

嗨,谢谢建议 👍

我考虑的方式是:配置(含插件配置)与稍后读分开,当然你的建议也不错,实施的话会一并考虑的 😄

@xihale
Copy link
Author

xihale commented Feb 6, 2025

只要实现分模块导入导出就可以了,相当于把一个大的配置(all in)拆分成小模块导入导出。
至于导入是覆盖还是手动合并冲突就是后话了。

@Kenshin
Copy link
Owner

Kenshin commented Feb 6, 2025

okay~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants