View Single Post
Old 12-11-2022, 02:23 PM   #8
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by kandwo View Post
That would be great! How do these userpatches work?

I understand it's relatively niche, but it's highly useful for reading in foreign languages when one has to look up a large quantity of words. Saves quite a bit of time
An user patch is a chunk of lua code that modifies the runtime behaviour of the application. They are applied at runtime and the changes persist updates as long as the patch modify/hooks in functions that weren't removed or changed during the update.

It is a non invasive way of tweaking code for self-usage and the recommended way of implementing changes that aren't going to be merged upstream.

See more info and some examples at https://github.com/koreader/koreader/wiki/User-patches
pazos is offline   Reply With Quote