Skip to content

Commit

Permalink
Merge pull request #46 from wling-art/main
Browse files Browse the repository at this point in the history
🐛 修复判断机型时为大写的情况
  • Loading branch information
SuperScript-PRC authored Feb 7, 2024
2 parents bd79330 + 643c805 commit 875d4e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tooldelta/launch_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
1 change: 1 addition & 0 deletions tooldelta/urlmethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.5
0.1.6

0 comments on commit 875d4e7

Please sign in to comment.