![]() |
Loading Plugin in development
Hello !
The question might have been asked a thousand times already, but I can't find the answer to this simple question : I have a Plugin I'm trying to develop for Calibre, the point is easy, but I need to do some try&errors, and I need to reload the plugin often. But it's a bit long, actually, I start Calibre, uninstall the actual version, install the new, and relaunch Calibre in order to have the button in the Toolbar. Is there a better way ? When I try to change the Plugin.zip in %appdata%/calibre/plugins, the button disapear from the toolbar. Thanks you for reading me ! |
|
I use a command file to package the plugin and start calibre.
Code:
del "KoboUtilities.zip"
Setting the environment variable is only needed if you want to run calibre from source. For a plugin, you don't usually need to. |
Hello !
Both of your method install the plugin, but I don't see the icon in the toolbar, the plugin is just installed, not placed in the toolbar. No way to go around this ? |
You will need to add it to the appropriate toolbar using the preferences. The installation can prompt the user to do this.
|
When I install the plugin byt the preference, yeah, I'm prompted.
But I need to do this manually, every time, it's quite time consuming for a fast workflow, no ? |
Quote:
If the icon is no longer visible after a calibre restart it's probably because there is an error in the updated plugin and it has failed to load correctly during the restart. Restarting calibre in debug mode (calibre-debug -g) would show these errors in the debug log. |
| All times are GMT -4. The time now is 08:24 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.