05-25-2021, 02:48 PM | #1 |
Member
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`? |
05-25-2021, 02:58 PM | #2 |
Wizard
Posts: 1,666
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).
|
Advert | |
|
05-25-2021, 07:45 PM | #3 |
cosiñeiro
Posts: 1,316
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. |
05-25-2021, 11:59 PM | #4 | |
Member
Posts: 15
Karma: 8689412
Join Date: Oct 2010
Device: PRS 505
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin Development | KevinH | Plugins | 539 | 09-19-2024 05:12 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 |