mienaiyami / yomikiru

An offline desktop reader for manga, comics, and novels. Offers a customizable reading experience with extensive settings, shortcuts, themes and layouts. Manga reader / Manhwa reader / Webtoon Reader / EPUB Reader. **Not a downloader**
MIT License
223 stars 10 forks source link

Temporary data error #212

Closed GenoXu closed 10 months ago

GenoXu commented 10 months ago

Type of installation

Portable (.zip)

Steps to reproduce

I open a cbz file (or whatever archive file) so it gets extracted into the temp directory. After few days, I get this error when I try opening the same file (due to some temp data auto-deletion I think). I fixed it by manually deleting the temp folder of that file. I was wondering if you could automate this or something (Maybe an option to vacuum temp data when facing this problem, or an option to detect data deletion and re-extract the file based on that)..

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

mienaiyami commented 10 months ago

Is that folder auto cleaned by window or some other app? I added option to select custom temp folder because of this reason. Anyways, I will add one more check on it.

mienaiyami commented 10 months ago

By the way, is extracting speed similar to 7z or winrar? I cant help but wonder from the video above. I tested multiple times and its a lot faster than file manager's, though its still not as fast as 7zip or winrar its still comparable to them. If not, I will try to check global paths for 7zip and using it if possible.

GenoXu commented 10 months ago

Oh.. it's a misunderstanding on my behalf then, because The original path was C:\Windows\Temp (shifted to explain the issue) and yes, it is auto cleaned by windows.

GenoXu commented 10 months ago

By the way, is extracting speed similar to 7z or winrar? I cant help but wonder from the video above. I tested multiple times and its a lot faster than file manager's, though its still not as fast as 7zip or winrar its still comparable to them. If not, I will try to check global paths for 7zip and using it if possible.

Yes, 7zip is faster but the speeds are still comparable (a difference of 5-8s on my old machine).

GenoXu commented 10 months ago

@mienaiyami Now that I run on 64bit, I think the extraction speed got much more similar to 7zip

mienaiyami commented 10 months ago

I tried using 7zip, but unfortunately due to some reasons its slower than current unzipper when used in app.

mienaiyami commented 10 months ago

Adding more checks wasnt good for performance so I added option to clear all temp files. Still, I find it weird that images in temp folder are deleted but the source file isnt, Yomikiru is not the one deleting them.