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

Commit

Permalink
Cleaning windows installation
Browse files Browse the repository at this point in the history
  • Loading branch information
rupor-github committed Apr 5, 2018
1 parent 4946a99 commit 4c4b070
Show file tree
Hide file tree
Showing 4 changed files with 351 additions and 387 deletions.
14 changes: 13 additions & 1 deletion build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ for _mingw in ${ARCH_INSTALLS}; do
if [ -z ${_msystem} ]; then
${_python} setup-cli.linux.cx_freeze.py build_exe -b ${_dist}
if [ $? -eq 0 ]; then
# some PIL files are copied twice
# clean after cx_Freeze
for file in ${_dist}/lib/.libs/*; do
rm ${_dist}/lib/`basename $file`
done
Expand Down Expand Up @@ -106,6 +106,18 @@ EOF
cp -R ${u_work_dir}/${_dist} ${_dist}
rm -rf ${u_work_dir}

# clean after cx_Freeze
mv ${_dist}/imageformats/Qt5* ${_dist}/lib/.
rm ${_dist}/imageformats/VCRUNTIME140.dll
rm ${_dist}/imageformats/MSVCP140.dll

mv ${_dist}/platforms/Qt5* ${_dist}/lib/.
rm ${_dist}/platforms/VCRUNTIME140.dll
rm ${_dist}/platforms/MSVCP140.dll

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

cd ${_dist}
7z a -r ../fb2mobi_all_${_arch}
fi
Expand Down
Loading

0 comments on commit 4c4b070

Please sign in to comment.