diff --git a/tooldelta/launch_cli.py b/tooldelta/launch_cli.py index 8e14b261..9adea763 100644 --- a/tooldelta/launch_cli.py +++ b/tooldelta/launch_cli.py @@ -403,7 +403,7 @@ def download_libs(self): except Exception as err: Print.print_err(f"获取依赖库表出现问题: {err}") raise SystemExit - sys_machine = platform.uname().machine + sys_machine = platform.uname().machine.lower() if sys_machine == "x86_64": sys_machine = "amd64" elif sys_machine == "aarch64": diff --git a/tooldelta/urlmethod.py b/tooldelta/urlmethod.py index 272d83f9..83a4869f 100644 --- a/tooldelta/urlmethod.py +++ b/tooldelta/urlmethod.py @@ -17,6 +17,7 @@ def download_file(f_url: str, f_dir: str): nowsize = 0 succ = False lastime = time.time() + useSpeed = 0 try: with open(f_dir + ".tmp", "wb") as dwnf: for chk in res.iter_content(chunk_size=8192): diff --git a/version b/version index 9faa1b7a..a1922332 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.1.5 +0.1.6 \ No newline at end of file