Repository navigation
KOReader for Switch — v0.3.0 (download/rename fix)
Fixes file downloads through plugins (e.g. BookOrbit) and plugin/settings saving.
rename()now replaces an existing file. Horizon's filesystem refused to overwrite an existing file, but POSIXrename()(which KOReader and its plugins rely on for atomic saves — write a temp file, then rename it over the real one) is supposed to replace it. This broke:- Downloading a book that the plugin then records to its local state — the transfer succeeded but the bookkeeping
renamefailed, so the download errored out. This is why larger CBZ downloads (fetched after the plugin's state file already existed) failed while an early EPUB went through. - Plugin sync/state saving (e.g. BookOrbit's repeated
bookorbit_sync_state.lua: File existserrors). - KOReader's own settings saves that overwrite an existing file.
- Downloading a book that the plugin then records to its local state — the transfer succeeded but the bookkeeping
Includes everything from v0.2.0: night-mode fix, accelerometer auto-rotation, touch-only UI, self-install, clean exit to HOME, user plugins, and internet.
Runs on a real Switch. Still a vibe-coded experiment — a fun proof of concept, no warranty, no support.
Downloads
….nro— homebrew app (Homebrew Menu)….nsp— installable title (needs sigpatches)SHA256SUMS