fix: FileOperator 默认路径回退层级错误; 新增 config.env.example 和 README; 修正 EmojiListGenerator 文档; VSearch 错误提示修正#332
Merged
lioensky merged 2 commits intoMay 25, 2026
Conversation
…iListGenerator 文档; VSearch 错误提示修正
Owner
|
readme变更发生了冲突 |
Contributor
Author
|
麻烦莱恩了,感谢! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FileOperator 路径修复
问题:webReadFile() 和 downloadFile() 默认存储路径使用3层父目录回退 (__dirname/../../../AppData/file),导致文件落在 VCPToolBox 上级目录的幽灵路径。
修复:新增 WEB_FILE_DIR 环境变量,回退链 WEB_FILE_DIR > DEFAULT_DOWNLOAD_DIR > __dirname/../../file。完全向后兼容。
附带:新增 config.env.example 配置模板(原 config.env 裸奔无 .gitignore 保护)+ README.md 插件文档。
EmojiListGenerator 文档修正
修正 README 中过时的"前端配置步骤"章节:前端已从手动复制 generated_lists/ 升级为通过 /admin_api/emojis/list API 自动获取,无需手动文件操作。同时修正漏字和 PROJECT_BASE_PATH 描述。
VSearch 错误提示修正
SearchTopic 或 Keywords → SearchTopic 和 Keywords(两者都是必需参数)。