Re-add PDF.js download to build_release.py
This commit is contained in:
parent
7c134cdb20
commit
300ddce288
@ -43,7 +43,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir,
|
|||||||
|
|
||||||
import qutebrowser
|
import qutebrowser
|
||||||
from scripts import utils
|
from scripts import utils
|
||||||
# from scripts.dev import update_3rdparty
|
from scripts.dev import update_3rdparty
|
||||||
|
|
||||||
|
|
||||||
def call_script(name, *args, python=sys.executable):
|
def call_script(name, *args, python=sys.executable):
|
||||||
@ -169,8 +169,7 @@ def build_mac():
|
|||||||
for d in ['dist', 'build']:
|
for d in ['dist', 'build']:
|
||||||
shutil.rmtree(d, ignore_errors=True)
|
shutil.rmtree(d, ignore_errors=True)
|
||||||
utils.print_title("Updating 3rdparty content")
|
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")
|
utils.print_title("Building .app via pyinstaller")
|
||||||
call_tox('pyinstaller', '-r')
|
call_tox('pyinstaller', '-r')
|
||||||
utils.print_title("Patching .app")
|
utils.print_title("Patching .app")
|
||||||
@ -203,8 +202,7 @@ def build_mac():
|
|||||||
def build_windows():
|
def build_windows():
|
||||||
"""Build windows executables/setups."""
|
"""Build windows executables/setups."""
|
||||||
utils.print_title("Updating 3rdparty content")
|
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")
|
utils.print_title("Building Windows binaries")
|
||||||
parts = str(sys.version_info.major), str(sys.version_info.minor)
|
parts = str(sys.version_info.major), str(sys.version_info.minor)
|
||||||
|
Loading…
Reference in New Issue
Block a user