update extension sample

pull/470/head
何冠峰 2025-02-12 11:45:12 +08:00
parent 24142de11f
commit 0531b6ef3a
1 changed files with 9 additions and 0 deletions

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)