Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Commit

Permalink
Cleaning windows setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rupor-github committed Apr 6, 2018
1 parent 4c4b070 commit 30506e5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ EOF
rm ${_dist}/platforms/MSVCP140.dll

mv ${_dist}/lib/VCRUNTIME140.dll ${_dist}/.
mv ${_dist}/lib/MSVCP140.dll ${_dist}/.
mv ${_dist}/lib/MSVCP140.dll ${_dist}/.

cd ${_dist}
7z a -r ../fb2mobi_all_${_arch}
Expand Down
5 changes: 2 additions & 3 deletions modules/fb2html.py
Original file line number Diff line number Diff line change
Expand Up @@ -1342,9 +1342,8 @@ def stamp_cover(self, img):

# tuning
h = img.height // 4
fh = min(35, h // 7)
fh = max(10, fh)
off = fh // 3
fh = max(10, h // 6)
off = fh // 4

if self.cover_stamp == 'Top':
pos = (0, 0)
Expand Down
1 change: 1 addition & 0 deletions setup-all.win32.cx_freeze.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
(os.path.join(base_dir, 'kindlegen.exe'), 'kindlegen.exe'),
(os.path.join(base_dir, 'ui/locale/qtbase_ru.qm'), 'ui/locale/qtbase_ru.qm'),
(os.path.join(base_dir, 'ui/locale/fb2mobi_ru.qm'), 'ui/locale/fb2mobi_ru.qm'),
(os.path.join(site.getsitepackages()[1], 'PyQt5/Qt/plugins/styles/qwindowsvistastyle.dll'), "styles/qwindowsvistastyle.dll"),
]

setup(
Expand Down
2 changes: 1 addition & 1 deletion synccovers.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def process_folder(inputdir, width, height, stretch, verbose):
while tail:
head, tail = os.path.split(head)
if tail:
kindle_dir = os.path.join(head, 'system', 'Fmbnails')
kindle_dir = os.path.join(head, 'system', 'thumbnails')
if os.path.isdir(kindle_dir):
print('Found Kindle thumbnails directory "{}"'.format(kindle_dir))
break
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

WINDOWS = platform.system().lower() == "windows"

VERSION = u'3.6.55'
VERSION = u'3.6.56'

0 comments on commit 30506e5

Please sign in to comment.