Quote:
Originally Posted by jhowell
If a Mac OS expert can reverse engineer the Kindle Previewer and come up with the exact command line and environment variables needed to run the conversion function then I will add it to the plugin.
|
I'm no expert, but this is sufficient for producing a KDF on my system. CDing to the right folder simplifies the invocation. No environment variables need presetting.
Code:
cd /Applications/Kindle\ Previewer\ 3.app/Contents/MacOS/lib/fc/
./jre/bin/java -Dfile.encoding=UTF8 -cp lib/EpubToKFXConverter-1.0.jar:lib/* com.amazon.kfxconverter.app.KFXGenApp -libDir . -tmpDir ~/Desktop/kdftest -outDir ~/Desktop/kdftest -inputFile ~/Desktop/test.epub -locale en -amzncreator "Kindle Previewer 3.1.0"
I have it to saving to my desktop for my own convenience.