From eb27e5fd31f73b998a4bbd85511a31e40b8c61b7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 21 十一月 2025 17:03:47 +0800
Subject: [PATCH] 0312 关闭游戏内日志

---
 Main/System/ClientVersion/VersionUtility.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Main/System/ClientVersion/VersionUtility.cs b/Main/System/ClientVersion/VersionUtility.cs
index 448259d..610a55d 100644
--- a/Main/System/ClientVersion/VersionUtility.cs
+++ b/Main/System/ClientVersion/VersionUtility.cs
@@ -1,5 +1,5 @@
 //--------------------------------------------------------
-//    [Author]:           绗簩涓栫晫
+//    [Author]:           鐜╀釜娓告垙
 //    [  Date ]:           Thursday, March 15, 2018
 //--------------------------------------------------------
 using UnityEngine;
@@ -20,7 +20,7 @@
 
     public string androidRoot { get { return string.Empty;/*StringUtility.Contact(SDKUtils.Instance.DeviceRootPath, "/", VersionConfig.Get().bundleIdentifier);*/ } }
 
-    public DownloadTask downloadTask;
+    public DownloadHotTask downloadTask;
     private string versionUrl;
     public float progress
     {
@@ -199,16 +199,16 @@
         var remoteURL = GetApkRemoteUrl();
         var apkLocalUrl = GetApkLocalUrl();
 
-        downloadTask = new DownloadTask(remoteURL, apkLocalUrl);
+        downloadTask = new DownloadHotTask(remoteURL, apkLocalUrl);
         downloadTask.BeginDownload(OnDownLoadApkCompleted);
     }
 
-    private void OnDownLoadApkCompleted(DownloadTask task)
+    private void OnDownLoadApkCompleted(DownloadHotTask task)
     {
         if (task.IsDone)
         {
             step = Step.Completed;
-            // VersionUpdateWin.Instance.CloseWindow();
+            UIManager.Instance.CloseWindow<VersionUpdateWin>();
             //  // WindowCenter.Instance.Close<VersionUpdateWin>();
             SDKUtils.Instance.InstallAPK(GetApkLocalUrl());
         }

--
Gitblit v1.8.0