From 51df3a72d0308843dfdb95180c557897b4fc32a8 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 15 九月 2025 01:31:11 +0800
Subject: [PATCH] 0312 非下载模式调整

---
 Assets/Launch/Manager/LocalResManager.cs |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/Assets/Launch/Manager/LocalResManager.cs b/Assets/Launch/Manager/LocalResManager.cs
index dd24689..c1c7c31 100644
--- a/Assets/Launch/Manager/LocalResManager.cs
+++ b/Assets/Launch/Manager/LocalResManager.cs
@@ -403,6 +403,21 @@
 
     public async void InitTable(Action OnComplete = null)
     {
+        if (isPCTestDownLoad || Application.isMobilePlatform || VersionConfigEx.Get().assetAccess == VersionConfigEx.InstalledAsset.IngoreDownLoad)
+        {
+            //璇诲彇鐨勪竴瀹氭槸StreamingAssetPath璺緞
+            await ReadText("logicbytes", (isOK, value) =>
+            {
+                if (isOK)
+                { 
+                    InitLocalLogicbytes(value);
+
+                }
+                else
+                    Debug.LogWarning("InitTable logicbytes error");
+            }, StreamingAssetPath);
+        }
+        
         await ReadText("InitialFunction", (isOK, value) =>
         {
             if (isOK)
@@ -415,17 +430,6 @@
                 Debug.LogError("InitTable InitialFunctionConfig error");
             }
         });
-        if (isPCTestDownLoad || Application.isMobilePlatform)
-        {
-            //璇诲彇鐨勪竴瀹氭槸StreamingAssetPath璺緞
-            await ReadText("logicbytes", (isOK, value) =>
-            {
-                if (isOK)
-                    InitLocalLogicbytes(value);
-                else
-                    Debug.LogWarning("InitTable logicbytes error");
-            }, StreamingAssetPath);
-        }
     }
 
     //闅忓寘瀹夎鐨勮祫婧愪笉鍚屽钩鍙颁笉涓�瀹氬彲浠ヨ幏鍙朏ileInfo锛屾墍浠ラ渶瑕佷笅杞戒竴涓枃浠舵潵鑾峰彇璧勬簮鐨凪D5淇℃伅

--
Gitblit v1.8.0