-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove kindlegen binary and point people to KindlePreviewer #208
Comments
Ebookmaker uses Calibre for conversion in languages not supported by kindlegen. So it may be more appropriate to point people to Calibre - many will already have it installed anyway. Should be able to provide a config file to ebookmaker with the The Calibre install contains the program ebook-convert which is on the Windows path. |
It is important that the GG conversion process matches the online one when users upload to https://ebookmaker.pglaf.org/ |
I wanted to mention another reason to stop distributing the kindlegen Mac binary: it's 32-bit, so it won't run on Catalina or Big Sur, which both require 64-bit only.
|
|
Amazon no longer provide a standalone kindlegen, but include it in Kindle Previewer. This commit allows the user to set the file path to the kindlegen executable they have installed (by whatever means). If there is no kindlegen executable linked to, then when ebookmaker is run, it will not be asked to create a kindle mobi file, and the user will be informed via a log message that to obtain mobi files they need to install and link to kindlegen. This fixes DistributedProofreaders#208
Letting people select the location of kindlegen.exe on the Prefs->Set File Paths dialog is a long-term, easy solution to this issue. Since all previous versions of Guiguts included kindlegen.exe, people who don't want to install Kindle Previewer 3 can point to a kindlegen.exe that's in an earlier version of Guiguts. If they think they might someday delete older versions of Guiguts, they can put a copy of one of those kindlegen.exe's in some other, permanent folder, and point to it. All the kindlegen.exe's, including the one bundled with KP3, generate what appear to be identical .mobi's. |
Frustratingly, Amazon pulled the stand-alone kindlegen download and instead are pointing people to KindlePreviewer. This breaks packaging for Windows and Macs. The Previewer includes kindlegen somewhere in it, but the Previewer is an installation executable and we can't extract the binary for packaging.
We should stop trying to package kindlegen in GG and instead point people to download and install KindlePreviewer. We can make this slightly less painful by adding the (presumptive) kindlegen path to the GG batch file.
The text was updated successfully, but these errors were encountered: