diff --git a/Dockerfile b/Dockerfile index 7b369afd..361fb8a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM acidweb/kcc-base MAINTAINER Paweł Jastrzębski -ENV KCCVER 5.0 +ENV KCCVER 5.0.1 ADD . /app RUN pip3 install pillow python-slugify psutil scandir pyinstaller @@ -12,7 +12,7 @@ RUN useradd -ms /bin/bash kcc && chown -R kcc:kcc /app USER kcc WORKDIR /app -RUN pyinstaller -F -s kcc.py +RUN pyinstaller -F -s --noupx kcc.py RUN mkdir -p dist/usr/bin dist/usr/share/applications dist/usr/share/doc/kindlecomicconverter dist/usr/share/kindlecomicconverter dist/usr/share/lintian/overrides RUN mv dist/kcc dist/usr/bin RUN cp icons/comic2ebook.png dist/usr/share/kindlecomicconverter diff --git a/README.md b/README.md index 2a97d610..678e6ae5 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,11 @@ The app relies and includes the following scripts: * [Kobo Aura H2O](http://kcc.iosphe.re/Samples/Ubunchu-KoAH2O.kepub.epub) ## CHANGELOG +####5.0.1: +* Fixed Panel View placement issues +* Decreased application startup time +* Fixed multiple smaller issues + ####5.0: * Major overhaul of internal mechanisms and GUI * Added cover upload feature diff --git a/kcc.iss b/kcc.iss index be189a8c..749e5860 100644 --- a/kcc.iss +++ b/kcc.iss @@ -1,5 +1,5 @@ #define MyAppName "Kindle Comic Converter" -#define MyAppVersion "5.0" +#define MyAppVersion "5.0.1" #define MyAppPublisher "Ciro Mattia Gonano, Paweł Jastrzębski" #define MyAppURL "http://kcc.iosphe.re/" #define MyAppExeName "KCC.exe" diff --git a/kcc/__init__.py b/kcc/__init__.py index c5610826..04c02700 100644 --- a/kcc/__init__.py +++ b/kcc/__init__.py @@ -1,4 +1,4 @@ -__version__ = '5.0' +__version__ = '5.0.1' __license__ = 'ISC' __copyright__ = '2012-2015, Ciro Mattia Gonano , Pawel Jastrzebski ' __docformat__ = 'restructuredtext en' diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 69ea6b5e..48c0fa98 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -107,7 +107,7 @@ def buildHTML(path, imgfile, imgfilepath): os.makedirs(htmlpath) htmlfile = os.path.join(htmlpath, filename[0] + '.xhtml') f = open(htmlfile, "w", encoding='UTF-8') - f.writelines(["", + f.writelines(["\n", "\n", "\n", "\n", @@ -182,15 +182,16 @@ def buildHTML(path, imgfile, imgfilepath): boxes = [] for i in range(0, len(boxes)): f.writelines(["
\n", - "\n", "
\n"]) + f.write("\n") for box in boxes: f.writelines(["
\n", "\n", "
\n"]) - f.write("\n") f.writelines(["\n", "\n"]) f.close() @@ -210,8 +211,7 @@ def buildNCX(dstdir, title, chapters, chapterNames): "\n", "\n", "", escape(title), "\n", - "" - ]) + "\n"]) for chapter in chapters: folder = chapter[0].replace(os.path.join(dstdir, 'OEBPS'), '').lstrip('/').lstrip('\\\\') filename = getImageFileName(os.path.join(folder, chapter[1])) @@ -252,8 +252,7 @@ def buildNAV(dstdir, title, chapters, chapterNames): f.writelines(["\n", "\n", "