Commit e17f91c
committed
fix: improve icon file synchronization logic
1. Add target file hash verification before copying icons
2. Remove corrupted cache entries when target file has been modified
externally
3. Prevent overwriting files that were changed by other processes
4. Maintain cache integrity by detecting external modifications
fix: 改进图标文件同步逻辑
1. 在复制图标前添加目标文件哈希验证
2. 当目标文件被外部修改时移除损坏的缓存条目
3. 防止覆盖被其他进程更改的文件
4. 通过检测外部修改来维护缓存完整性1 parent 87f9f01 commit e17f91c
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
| |||
0 commit comments