Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2021, 02: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: 12
Karma: 6553204
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:	34
Size:	44.8 KB
ID:	187333  
philips is offline   Reply With Quote
Old 05-25-2021, 02: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,227
Karma: 448558
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 offline   Reply With Quote
Old 05-25-2021, 07: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: 836
Karma: 1402765
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-25-2021, 11:59 PM   #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: 12
Karma: 6553204
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:47 PM.


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