File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 6
6
import time
7
7
import urllib .request
8
8
9
- commit_hash = "897513ca6427e148d36c9105f1f54f5afc5e28f6"
9
+ pdf_worker_commit_hash = "01901bf65e12741e727df38eaaa24a67d4fc6a5e"
10
+ pdf_worker_wrapper_version = "1"
10
11
11
- pdf_worker_download_url = "https://zotero-download.s3.amazonaws.com/ci/client-pdf-worker/" + commit_hash + ".zip"
12
+ pdf_worker_download_url = "https://zotero-download.s3.amazonaws.com/ci/client-pdf-worker/" + pdf_worker_commit_hash + ".zip"
12
13
13
14
# Get bundle directory
14
15
bundle_dir = os .path .join (os .path .abspath ("." ), "app" + os .sep + "src" + os .sep + "main" + os .sep + "assets" )
23
24
raise Exception (pdf_worker_dir + " is not a directory. Call update_bundled_data.py first." )
24
25
25
26
with open (os .path .join (bundle_dir , "pdf-worker_commit_hash.txt" ), "w" ) as f :
26
- f .write (str (commit_hash ))
27
+ f .write (str (pdf_worker_wrapper_version ))
27
28
28
29
# Download cmaps and standard_fonts
29
30
cmaps_and_fonts_zip_file = os .path .join (pdf_worker_dir , "pdf_worker_cmaps_and_fonts.zip" )
You can’t perform that action at this time.
0 commit comments