0.2.0
Added
- Auto-update system — check for and install new versions directly from inside KOReader
via Folder Lock → Check for updates- Fetches latest release metadata from GitHub Releases API
- Downloads release zip and verifies SHA-256 checksum before touching the live plugin
- Safe swap with rollback: renames live plugin →
.bak, extracts new version in its
place, restores.bakon any failure - Startup recovery: cleans up stale
.bakafter a successful boot, restores.bakif
the live plugin is missing - Override URL for testing with a local dummy server
- Runtime version source —
folderlock_version.luaembedded at package time so the
updater knows what's installed - Checksum sidecar in releases —
.sha256file published alongside each release zip
Changed
scripts/package_release.shnow injects the release version into the packaged plugin and
generates the.sha256checksum file
Assets
folderlock.koplugin-0.2.0.zip— plugin archivefolderlock.koplugin-0.2.0.zip.sha256— SHA-256 checksum (verified automatically during
in-app update)
Full Changelog: https://github.com/William9923/folderlock.koplugin/commits/0.2.0