feat: 自己下

This commit is contained in:
tangge233 committed 2024-11-08 22:09:52 +08:00
1 parent 8abf4707a1
commit 75cc86d2a2
3 files changed
+9 -11

No files matched your search

+3 -1
View File
@@ -128,7 +128,9 @@ RetryStart:
'下载
ActualSource = LoadingSource '显示加载中图片
TempDownloadingPath = TempPath & RandomInteger(0, 10000000)
NetDownload(Url, TempDownloadingPath, True, False)
Using Client As New System.Net.WebClient
Client.DownloadFile(Url, TempDownloadingPath)
End Using
If Url <> Source AndAlso Url <> FallbackSource Then
'已经更换了地址
File.Delete(TempDownloadingPath)