Explorar el Código

fix: 目录问题……

tangge233 hace 1 año
padre
commit
9aecc1920a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Plain Craft Launcher 2/Controls/MyImage.vb

+ 1 - 0
Plain Craft Launcher 2/Controls/MyImage.vb

@@ -128,6 +128,7 @@ RetryStart:
                 '下载
                 ActualSource = LoadingSource '显示加载中图片
                 TempDownloadingPath = TempPath & RandomInteger(0, 10000000)
+                Directory.CreateDirectory(GetPathFromFullPath(TempPath))
                 Using Client As New System.Net.WebClient
                     Client.DownloadFile(Url, TempDownloadingPath)
                 End Using