Commit Graph
15 Commits
Author SHA1 Message Date
binaryify 870c3e94fc Merge pull request #5 from yoruuuchan/fix/find-download-race
fix: tolerate files vanishing mid-scan in find_download
2026-08-06 21:00:10 +08:00
yoruuuchanandClaude Fable 5 2730832c3f fix: tolerate files vanishing mid-scan in find_download
The sort key in find_download() called item.stat() unprotected. The
search roots include the live Downloads folder, where Chrome renames
"*.crdownload" files to their final name between directory listing and
stat(), crashing the whole export with FileNotFoundError.

Stat once while collecting (skipping entries that raise OSError), then
sort the snapshot. This also halves the stat() calls per polling round.

Fixes the remaining race reported in #4.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 21:36:38 +09:00
binaryify f77ee8dfcb fix: export_pptx.py
Related to #4
2026-08-06 18:02:20 +08:00
binaryify 066cbc33a5 chore: 1.1.1 release 支持元素入场动画 2026-08-06 17:21:34 +08:00
binaryify 0f70adb1c9 chore: 1.1.0 release 2026-08-06 17:09:51 +08:00
binaryify 28040e1f57 chore: 1.0.2 release 2026-08-06 14:08:34 +08:00
binaryify 4fca104a44 chore: 1.0.1 release 2026-08-06 12:36:09 +08:00
binaryify 37d2272f55 update: docs 2026-08-06 10:50:16 +08:00
binaryify 995e76c6c2 update: docs 2026-08-05 21:01:58 +08:00
binaryify b32aa977fc update: README 2026-08-05 18:08:21 +08:00
binaryify 650f09d44d update: README 2026-08-05 17:47:18 +08:00
binaryify d9550c320d update: README 2026-08-05 17:07:23 +08:00
binaryify 4d3ff12812 update: screenshots 2026-08-05 16:51:48 +08:00
binaryify 79761c6811 update: README 2026-08-05 16:35:50 +08:00
binaryify 5b0d45bf1d chore: 1.0.0 release 2026-08-05 16:25:24 +08:00