Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2021, 03:48 PM   #1
philips
Member
philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.
 
Posts: 15
Karma: 8689412
Join Date: Oct 2010
Device: PRS 505
kodev and plugin development

I am trying to figure out how to do plugin development.

I followed the build environment guide and got kodev run to launch koreader on my macOS machine without issue.

https://github.com/koreader/koreader...oc/Building.md

However, I can't figure out where to put the helloworld plugin and have it show up in the emulator.

My expectation was that if I copied hello.koplugin into the debug directory it would show up in the Plugin list. However, it does not.

So, how do you do plugin development with `kodev run`?
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2021-05-25 at 11.47.45 AM.png
Views:	148
Size:	44.8 KB
ID:	187333  
philips is offline   Reply With Quote
Old 05-25-2021, 03:58 PM   #2
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Try either koreader/plugins or koreader/koreader-emulator…debug/plugins (the latter is a symlink to the former).
Frenzie is online now   Reply With Quote
Advert
Old 05-25-2021, 08:45 PM   #3
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,325
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
The helloworld plugin is disabled because it is only useful to read the source code. You'll need to remove https://github.com/koreader/koreader...ain.lua#L7-L10 to enable it.

You won't need to copy the plugin anywhere while you're running the emulator.
pazos is offline   Reply With Quote
Old 05-26-2021, 12:59 AM   #4
philips
Member
philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.philips ought to be getting tired of karma fortunes by now.
 
Posts: 15
Karma: 8689412
Join Date: Oct 2010
Device: PRS 505
Quote:
Originally Posted by pazos View Post
The helloworld plugin is disabled because it is only useful to read the source code. You'll need to remove https://github.com/koreader/koreader...ain.lua#L7-L10 to enable it.

You won't need to copy the plugin anywhere while you're running the emulator.
Gahhh! Thank you so much.
philips is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin Development KevinH Plugins 546 09-29-2024 06:57 PM
Plugin development: search in dictionary mintwurm KOReader 6 10-27-2020 02:11 PM
Loading Plugin in development Sladd Development 6 06-17-2014 07:57 PM
Question for plugin development gurus DiapDealer Plugins 2 02-05-2012 12:33 AM
Device plugin development reader42 Plugins 10 03-29-2010 01:39 PM


All times are GMT -4. The time now is 06:36 PM.


MobileRead.com is a privately owned, operated and funded community.