Skip to content

Commit

Permalink
修复老版本下载问题
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoXianNv-boot committed Mar 3, 2024
1 parent f05cc68 commit 1ead9d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ def download_all():
for da in fsdata[:-1]:
da = da.split(b"\n")
name = da[0].split(b":")[-1].decode("utf-8")
name = name + "_" + da[2].split(b":")[-1].decode("utf-8") + ".pkg"
for dd in da:
dd = dd.split(b":")
if dd[0] == b"Version":
name = name + "_" + dd[-1].decode("utf-8") + ".pkg"
down(rul + "pkg/" + name,".jcm/pkg/" + name,"\t",prin,"")
print("")

Expand Down

0 comments on commit 1ead9d9

Please sign in to comment.