Automatically place plugin icon on main toolbar when installed from batch file?
Hello,
Is it possible to automatically place a plugin's icon in the main calibre toolbar when it is installed from a batch file using "calibre-customize -a"? Or is there perhaps code that can be added to the plugin file itself to accomplish this?
Basically, I have a batch file that installs my plugin, then when calibre restarts, currently I have to manually go to prefs and move it over to the main toolbar using the UI. Of course, after that, calibre remembers so future installs always put the icon back, but I'd like to automate that process if possible so it is already on the main toolbar when calibre restarts on the first-time plugin install.
Thank you for any help you can provide!
|