feat: 新增导入导出功能,支持备份和恢复 PATH 配置

- 添加 import_export 模块,实现 JSON 格式的导入导出
- 在界面中添加导入和导出按钮,并配置回调函数
- 更新配置文件,增加相关文本和状态提示
- 在非管理员权限下禁用导入按钮
This commit is contained in:
2026-03-25 19:49:47 +08:00
parent ce232cb024
commit 55d0f80743
9 changed files with 498 additions and 64 deletions
+2
View File
@@ -11,6 +11,8 @@ int btn_del_cb(Ihandle *self);
int btn_up_cb(Ihandle *self);
int btn_down_cb(Ihandle *self);
int btn_clean_cb(Ihandle *self);
int btn_import_cb(Ihandle *self);
int btn_export_cb(Ihandle *self);
int btn_ok_cb(Ihandle *self);
int btn_cancel_cb(Ihandle *self);
int btn_help_cb(Ihandle *self);