Quote:
Originally Posted by kovidgoyal
Simply create a bat file that does
set CALIBRE_CACHE_DIRECTORY=C:/whtever
ebook-viewer %1
deltree C:/whatever
and use that to launch the viewer.
|
Awesome! This is perfect. I changed the icon in the registry to match the viewer and now it looks exactly like before, but using a different cache.
Just changed it a bit:
Code:
@echo off
set CALIBRE_CACHE_DIRECTORY=C:\whatever
start ebook-viewer.exe %1
rd /s /q C:\whatever
Deltree is gone in windows.
Quote:
Originally Posted by kovidgoyal
No, the cache is managed automatically. IIRC any book that has not been read for 30 days will be purged the next time the viewer is opened.
|
Well, then maybe it was not a real problem, after all... It wouldn't grow indefinitely.