From 5f74127d63cbcde4e06cdfc44ba6b40962f9869e Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 03 四月 2024 22:14:44 +0800 Subject: [PATCH] 0312 忽略下载还是需求请求验证,但不处理下载 --- Assets/Launch/ResourcesModel.cs | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Assets/Launch/ResourcesModel.cs b/Assets/Launch/ResourcesModel.cs index e6d37e9..90a273f 100644 --- a/Assets/Launch/ResourcesModel.cs +++ b/Assets/Launch/ResourcesModel.cs @@ -190,12 +190,6 @@ { versionUrlResult = _result.Replace("{}", "null"); versionInfo = JsonMapper.ToObject<VersionInfo>(versionUrlResult); - - if (VersionConfigEx.Get().assetAccess == VersionConfigEx.InstalledAsset.IngoreDownLoad) - { - step = LoadDllStep.ReadBytes; - return; - } step = LoadDllStep.PrepareDownLoad; } else @@ -345,6 +339,11 @@ if (_ok) { UpdateAssetVersions(_result); + if (VersionConfigEx.Get().assetAccess == VersionConfigEx.InstalledAsset.IngoreDownLoad) + { + step = LoadDllStep.ReadBytes; + return; + } step = LoadDllStep.DownLoad; } else -- Gitblit v1.8.0