Skip to content

fix: FileOperator 默认路径回退层级错误; 新增 config.env.example 和 README; 修正 EmojiListGenerator 文档; VSearch 错误提示修正#332

Merged
lioensky merged 2 commits into
lioensky:mainfrom
infinite-vector:fix/fileoperator-path-and-docs
May 25, 2026
Merged

fix: FileOperator 默认路径回退层级错误; 新增 config.env.example 和 README; 修正 EmojiListGenerator 文档; VSearch 错误提示修正#332
lioensky merged 2 commits into
lioensky:mainfrom
infinite-vector:fix/fileoperator-path-and-docs

Conversation

@infinite-vector
Copy link
Copy Markdown
Contributor

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(两者都是必需参数)。

@lioensky
Copy link
Copy Markdown
Owner

readme变更发生了冲突

@lioensky lioensky merged commit 1ad8344 into lioensky:main May 25, 2026
1 check passed
@infinite-vector
Copy link
Copy Markdown
Contributor Author

麻烦莱恩了,感谢!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants