The Kiwix pre-install requirement is "at least one ZIM file present", but
the check that enforces it sits behind a HEAD request in the downloader.
On a host with no connectivity that request fails, so installing Kiwix
fails even when a ZIM is already sitting in storage.
Check the storage directory first and skip the download when it already
holds a .zim, rebuilding the library XML from disk instead. This mirrors
how Calibre-Web seeds its bundled library. Online installs are unaffected:
with no ZIM present the existing download path still runs.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>