mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-03 13:44:13 -04:00
Use canonical download URL when getting binary to build translations
This commit is contained in:
parent
ea2b8922cc
commit
36700e8eb2
@ -88,8 +88,7 @@ def download_and_decompress(url, dest, compression=None):
|
||||
def install_calibre_binary():
|
||||
dest = os.path.expanduser('~/calibre-bin')
|
||||
os.mkdir(dest)
|
||||
# change this to the canonical download URL once 5.0 is released
|
||||
download_and_decompress('https://download.calibre-ebook.com/calibre-4.99.12-x86_64.txz', dest, 'J')
|
||||
download_and_decompress('https://calibre-ebook.com/dist/linux64', dest, 'J')
|
||||
return os.path.join(dest, 'calibre-debug')
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user