Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[scripts-thumbnailer] 缩略图脚本的自动删除兼容多实例 #68

Merged
merged 2 commits into from
Dec 20, 2021
Merged

[scripts-thumbnailer] 缩略图脚本的自动删除兼容多实例 #68

merged 2 commits into from
Dec 20, 2021

Conversation

zhongfly
Copy link
Contributor

通过文件锁实现,参见#48 (comment)

@zhongfly
Copy link
Contributor Author

zhongfly commented Dec 20, 2021

仔细想想在奇怪的情况下会出现忘记删除
例如:
设置关闭时删除
打开2个窗口,窗口1先关闭,由于窗口2存在,缓存文件夹中存在窗口2的文件锁,于是窗口1什么都不做。
窗口2不关闭,改设置为不自动删除,关闭,脚本不删除它的文件锁

我等下再改一下

@zhongfly
Copy link
Contributor Author

zhongfly commented Dec 20, 2021

如果要合并,用squash merge吧,合并成一个commit

@hooke007 hooke007 changed the title Fix: 缩略图脚本的自动删除兼容多实例 thumbnail: 缩略图脚本的自动删除兼容多实例 Dec 20, 2021
@hooke007 hooke007 merged commit 273969f into hooke007:main Dec 20, 2021
@hooke007 hooke007 changed the title thumbnail: 缩略图脚本的自动删除兼容多实例 [scripts-thumbnailer] 缩略图脚本的自动删除兼容多实例 Jan 13, 2022
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