mirror of
https://github.com/kiwix/kiwix-apple-custom.git
synced 2025-09-22 03:40:45 -04:00
Support no auth downloads as well
This commit is contained in:
parent
1ad9afc1a5
commit
41b22aa73a
@ -64,4 +64,7 @@ class CustomApps:
|
||||
url = parser.zimurl()
|
||||
file_path = parser.zim_file_path()
|
||||
auth = parser.download_auth()
|
||||
yield ["curl", "-L", url, "-u", auth, "-o", file_path]
|
||||
if auth != None:
|
||||
yield ["curl", "-L", url, "-u", auth, "-o", file_path]
|
||||
else:
|
||||
yield ["curl", "-L", url, "-o", file_path]
|
||||
|
Loading…
x
Reference in New Issue
Block a user