update extension sample

This commit is contained in:
何冠峰
2025-02-12 11:45:12 +08:00
parent 24142de11f
commit 0531b6ef3a

View File

@@ -49,6 +49,15 @@ internal class WXFSLoadBundleOperation : FSLoadBundleOperation
if (CheckRequestResult())
{
if (_bundle.Encrypted && _fileSystem.DecryptionServices == null)
{
_steps = ESteps.Done;
Status = EOperationStatus.Failed;
Error = $"The {nameof(IDecryptionServices)} is null !";
YooLogger.Error(Error);
return;
}
AssetBundle assetBundle;
var downloadHanlder = _webRequest.downloadHandler as DownloadHandlerWXAssetBundle;
if (_bundle.Encrypted)