Skip to content

Conversation

@Remhardt
Copy link
Contributor

Checklist - en

  • Read our Contributing Guide.
  • Associate an issue with the Pull Request.
  • Ensure that the code is up-to-date with the master branch.
  • Include a description of the proposed changes.

Checklist - zh-CN

  • 阅读 @贡献指南
  • 把 issue 和 pr 相关联.
  • 确保代码与 master 分支保持同步.
  • 尽可能详细的描述所做的变更.

fix

  • 修复 applyPatches函数 的逻辑,理论上相等返回应该是false,不需要进行写入更新。同时在这个commit中为了保证每次兼容folder去查看folder内部是否存在新文件,所以Background.ts 这里也进行了修改。

feat #529

  • 增加了可配置项imageFolders用于接受文件夹的输入,使用方式与images的files协议一致采用file:///c:/xxx/xxx格式
  • 增加了可配置项recursive用于控制是否对文件夹进行递归收集图片,默认值为true

@Remhardt Remhardt marked this pull request as draft August 23, 2025 08:34
@Remhardt Remhardt marked this pull request as ready for review August 23, 2025 08:34
@shalldie
Copy link
Owner

感谢pr,是我想要的功能 😸
最近比较忙,晚一些会找时间review并合进来~

@bblwbtd
Copy link

bblwbtd commented Oct 18, 2025

Any progress on this PR? When can it be merged and released?

@shalldie
Copy link
Owner

shalldie commented Oct 20, 2025

太忙 =。= 到现在才有空处理

  1. 计划 merge,但会做一些改动:
    • 默认递归,不需要加参数
    • 字段名调整
    • 不在启动时监听文件夹内图片变动,有改动自己去点
  2. 上述工作计划在2周内完成并发版

@shalldie shalldie changed the base branch from master to feat-folder November 3, 2025 07:10
@shalldie shalldie merged commit 1a85932 into shalldie:feat-folder Nov 3, 2025
1 check passed
shalldie added a commit that referenced this pull request Nov 28, 2025
* feat: add folder support (#548)

* fix: Fixed the window reloading logic.

* feat: Added the imageFolders configuration option (#529)

* restore 到原代码并调整字段

* feat: 获取图片换成 glob (#529)

* feat: 去掉folder配置,images兼容更多种类路径,以及文件夹 (#529)

* feat: images 支持多平台文件路径、文件夹 (#529, #532)

* feat: 调整`images`配置说明 (#529, #532)

* 更新版本、CHANGELOG (#557)

* update docs、CHANGELOG (#557)

* feat: 替换 glob 为 fast-glob (#557)

---------

Co-authored-by: 蕾姆哈特丶 <[email protected]>
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.

3 participants