From 300ddce28831fec715fd93168d825b875cad83a7 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 24 Sep 2018 15:39:07 +0200 Subject: [PATCH] Re-add PDF.js download to build_release.py --- scripts/dev/build_release.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index b6c975f98..e3f039336 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -43,7 +43,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir, import qutebrowser from scripts import utils -# from scripts.dev import update_3rdparty +from scripts.dev import update_3rdparty def call_script(name, *args, python=sys.executable): @@ -169,8 +169,7 @@ def build_mac(): for d in ['dist', 'build']: shutil.rmtree(d, ignore_errors=True) utils.print_title("Updating 3rdparty content") - # Currently disabled because QtWebEngine has no pdfjs support - # update_3rdparty.run(ace=False, pdfjs=True, fancy_dmg=False) + update_3rdparty.run(ace=False, pdfjs=True, fancy_dmg=False) utils.print_title("Building .app via pyinstaller") call_tox('pyinstaller', '-r') utils.print_title("Patching .app") @@ -203,8 +202,7 @@ def build_mac(): def build_windows(): """Build windows executables/setups.""" utils.print_title("Updating 3rdparty content") - # Currently disabled because QtWebEngine has no pdfjs support - # update_3rdparty.run(ace=False, pdfjs=True, fancy_dmg=False) + update_3rdparty.run(ace=False, pdfjs=True, fancy_dmg=False) utils.print_title("Building Windows binaries") parts = str(sys.version_info.major), str(sys.version_info.minor)