Skip to content

0.2.0

Choose a tag to compare

@William9923 William9923 released this 23 Jun 05:21

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 .bak on any failure
    • Startup recovery: cleans up stale .bak after a successful boot, restores .bak if
      the live plugin is missing
    • Override URL for testing with a local dummy server
  • Runtime version sourcefolderlock_version.lua embedded at package time so the
    updater knows what's installed
  • Checksum sidecar in releases.sha256 file published alongside each release zip

Changed

  • scripts/package_release.sh now injects the release version into the packaged plugin and
    generates the .sha256 checksum file

Assets

  • folderlock.koplugin-0.2.0.zip — plugin archive
  • folderlock.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