Merge branch 'blyxxyz-master'
This commit is contained in:
commit
72e0b80ed0
@ -222,6 +222,7 @@ Contributors, sorted by the number of commits in descending order:
|
|||||||
* Johannes Martinsson
|
* Johannes Martinsson
|
||||||
* Jean-Christophe Petkovich
|
* Jean-Christophe Petkovich
|
||||||
* Jay Kamat
|
* Jay Kamat
|
||||||
|
* Jan Verbeek
|
||||||
* Helen Sherwood-Taylor
|
* Helen Sherwood-Taylor
|
||||||
* HalosGhost
|
* HalosGhost
|
||||||
* Gregor Pohl
|
* Gregor Pohl
|
||||||
|
@ -26,6 +26,7 @@ import urllib.error
|
|||||||
import shutil
|
import shutil
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def get_latest_pdfjs_url():
|
def get_latest_pdfjs_url():
|
||||||
@ -65,6 +66,8 @@ def update_pdfjs(target_version=None):
|
|||||||
url = ('https://github.com/mozilla/pdf.js/releases/download/'
|
url = ('https://github.com/mozilla/pdf.js/releases/download/'
|
||||||
'v{0}/pdfjs-{0}-dist.zip').format(target_version)
|
'v{0}/pdfjs-{0}-dist.zip').format(target_version)
|
||||||
|
|
||||||
|
os.chdir(os.path.join(os.path.dirname(os.path.abspath(__file__)),
|
||||||
|
'..', '..'))
|
||||||
target_path = os.path.join('qutebrowser', '3rdparty', 'pdfjs')
|
target_path = os.path.join('qutebrowser', '3rdparty', 'pdfjs')
|
||||||
print("=> Downloading pdf.js {}".format(version))
|
print("=> Downloading pdf.js {}".format(version))
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user