diff --git a/Installation.md b/Installation.md new file mode 100644 index 0000000..2684491 --- /dev/null +++ b/Installation.md @@ -0,0 +1,59 @@ + +#### MacOS installation +##### x86_64 version +see: KindleComicConverter_osx_*.dmg in **https://github.com/ciromattia/kcc/releases** +If you can't open the last beta and the OS says it's damaged, fix it with: +``` +xattr -d com.apple.quarantine /Applications/Kindle\ Comic\ Converter.app +``` + +##### M1/M2 arm64 version + +Building is not available in github on M1 arch. +See this building method, to build it locally: +_Originally posted by @celogeek in https://github.com/darodi/kcc/issues/4#issuecomment-1364553511_ + +Or you could also have a look at this other project: +https://github.com/celogeek/go-comic-converter + + +### APPIMAGE +- install 7zip + ```bash + $ sudo apt-get install -y p7zip-full + ``` +- copy kindlegen into '/usr/local/bin' and grant execute permissions for MOBI conversion. + ```bash + $ sudo cp -R kindlegen /usr/local/bin && sudo chmod a+x /usr/local/bin/kindlegen + ``` +- make appImage executable + ```bash + $ chmod a+x kindleComicConverter-latest-x86_64.AppImage + ``` +- run with backend x11 or it might not work with fedora + ```bash + $ GDK_BACKEND=x11 ./kindleComicConverter-latest-x86_64.AppImage + ``` + + +### DOCKER + +install kindlegen in your working directory and get last docker image +```bash +$ docker pull ghcr.io/ciromattia/kcc:latest +``` + +execute kcc-c2e +```bash +$ docker run --rm -v "$(pwd):/app" ghcr.io/ciromattia/kcc:latest +``` + +example +```bash +$ docker run --rm -v "$(pwd):/app" ghcr.io/ciromattia/kcc:latest -p KPW5 ./1.cbz +``` + +execute kcc-c2p +```bash +$ docker run --entrypoint /opt/kcc/kcc-c2p.py --rm -v "$(pwd):/app" ghcr.io/ciromattia/kcc:latest +```