05-25-2021, 03: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, 03:58 PM | #2 |
Wizard
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).
|
Advert | |
|
05-25-2021, 08:45 PM | #3 |
cosiñeiro
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. |
05-26-2021, 12:59 AM | #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 | 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 |