Decimation / SmartImage

Reverse image search tool (SauceNao, IQDB, Ascii2D, trace.moe, and more)
GNU General Public License v3.0
583 stars 28 forks source link

.local-chromium folder gets created but doesn't get deleted #25

Closed KyroOW closed 2 years ago

KyroOW commented 2 years ago

Every time i search an image in a folder, a .local-chromium folder will be created in the same folder and does not get deleted once the search is complete.

If SmartImage needs chromium to work, it should create those files where the .exe is located so it could re-use them and wouldn't have to re-create the same files in every folder i search an image into.

Maybe they actually get deleted once the search is done but there is a bug because those are onedrive folders or something, still, it would be better if the solution above was applied because otherwise it's a big waste of resource and time.

https://i.imgur.com/SJzuc5z.png https://i.imgur.com/pEAruvS.png https://i.imgur.com/gk3dLHl.png

Decimation commented 2 years ago

Yes, I've noticed this issue and I plan on resolving it in the next version. I'll aim on releasing it today if possible.

Decimation commented 2 years ago

I've been working on a fix, and I think this issue with Puppeteer-Sharp, the webdriver library used for TinEye, is likely the cause. I'm trying to create a workaround.