![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2020
Device: Kobo Clara HD
|
calibre-cutomize with portable Calibre
I'm trying to develop a Calibre plugin against a portable Calibre installation. That is, the one available from here: https://calibre-ebook.com/download_portable
Loading my hello world plugin by ZIPing the directory and using the Calibre UI works, but using the calibre-customize tool doesn't. It seems that when I do Code:
G:\path\to\portable\calibre\Calibre\calibre-customize.exe -a helloworld.zip Code:
G:\path\to\portable\calibre\Calibre\calibre-customize.exe -b devfolder Can people teach me how calibre-customize can be used with a portable installation? |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2020
Device: Kobo Clara HD
|
Solved it myself after reading the CPP code for the portable executable! (here)
It just needed to set an environmental variable first. Here's a snippet from my final batch file. Code:
SET "CALIBRE_CONFIG_DIRECTORY=G:\path\to\portable\calibre\Calibre Settings" G:\path\to\portable\calibre\Calibre\calibre-customize.exe -a helloworld.zip G:\path\to\portable\calibre\calibre-portable.exe |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Portable - Shouldn't PORTABLE Viewer and PORTABLE Editor open WITH the ebook? | Highlighter | Calibre | 2 | 10-31-2020 05:48 AM |
Faire une copie intégrale de Calibre sur Calibre portable | lktr45 | Software | 0 | 05-27-2020 10:38 AM |
Calibre Portable and Assigned Letter to Portable Drive issue | nkle1128 | Library Management | 1 | 03-11-2017 04:11 PM |
How do I import Calibre settings from regular Win Calibre to Calibre Portable? | ABW | Calibre | 9 | 05-20-2013 02:34 PM |
Calibre Portable like the Calibre on PC (espec. settings and plugins)? | manawydan | Devices | 6 | 01-23-2013 06:45 AM |