Exclude pdfjs from build packages for now
It only makes things bigger, and currently pdfjs doesn't work on QtWebEngine anyways.
This commit is contained in:
parent
9898d80625
commit
c5957bc9d0
@ -18,10 +18,10 @@ def get_data_files():
|
||||
('../qutebrowser/git-commit-id', '')
|
||||
]
|
||||
|
||||
if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')):
|
||||
data_files.append(('../qutebrowser/3rdparty/pdfjs', '3rdparty/pdfjs'))
|
||||
else:
|
||||
print("Warning: excluding pdfjs as it's not present!")
|
||||
# if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')):
|
||||
# data_files.append(('../qutebrowser/3rdparty/pdfjs', '3rdparty/pdfjs'))
|
||||
# else:
|
||||
# print("Warning: excluding pdfjs as it's not present!")
|
||||
|
||||
return data_files
|
||||
|
||||
|
@ -121,7 +121,7 @@ def main():
|
||||
action='store_true')
|
||||
args = parser.parse_args()
|
||||
|
||||
update_pdfjs(args.pdfjs)
|
||||
# update_pdfjs(args.pdfjs)
|
||||
update_ace()
|
||||
if args.fancy_dmg:
|
||||
update_dmg_makefile()
|
||||
|
Loading…
Reference in New Issue
Block a user