mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-28 21:31:03 +00:00
feat: pass hydra-httpdl binary path to HttpDownloader
This commit is contained in:
@@ -3,9 +3,8 @@ import subprocess
|
||||
import json
|
||||
|
||||
class HttpDownloader:
|
||||
def __init__(self):
|
||||
self.binaries_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "binaries")
|
||||
self.hydra_exe = os.path.join(self.binaries_path, "hydra-httpdl.exe")
|
||||
def __init__(self, hydra_httpdl_bin: str):
|
||||
self.hydra_exe = hydra_httpdl_bin
|
||||
self.process = None
|
||||
self.last_status = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user