From bc1cb6da854cb2e9144f10ed55330a537ecdca16 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 04 三月 2026 14:35:57 +0800
Subject: [PATCH] 466 h5版本 资源规则修改 打包修改(未完成 勿拉取)
---
Main/System/AssetVersion/AssetVersionUtility.cs | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Main/System/AssetVersion/AssetVersionUtility.cs b/Main/System/AssetVersion/AssetVersionUtility.cs
index cb0faa2..96dbc31 100644
--- a/Main/System/AssetVersion/AssetVersionUtility.cs
+++ b/Main/System/AssetVersion/AssetVersionUtility.cs
@@ -5,6 +5,7 @@
using System.IO;
using System.Threading;
using System.Linq;
+using Cysharp.Threading.Tasks;
public class AssetVersionUtility
{
@@ -72,8 +73,10 @@
{
if (task.IsDone)
{
- PriorBundleConfig.LazyInit();
- GetAssetVersionFile();
+ PriorBundleConfig.LazyInitAsync().ContinueWith(() =>
+ {
+ GetAssetVersionFile();
+ }).Forget();
}
else
{
@@ -87,7 +90,7 @@
{
if (task.IsDone)
{
- OPConfigConfig.LazyInit();
+ OPConfigConfig.LazyInitAsync().Forget();
}
else
{
--
Gitblit v1.8.0