mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-18 22:20:07 +00:00
update logic code
优化了创建文件的方式。
This commit is contained in:
@@ -52,7 +52,7 @@ namespace YooAsset.Editor
|
||||
}
|
||||
|
||||
string filePath = $"{pipelineOutputDirectory}/{bundleInfo.BundleName}.encrypt";
|
||||
FileUtility.CreateFile(filePath, encryptResult.EncryptedData);
|
||||
FileUtility.WriteAllBytes(filePath, encryptResult.EncryptedData);
|
||||
bundleInfo.EncryptedFilePath = filePath;
|
||||
bundleInfo.LoadMethod = encryptResult.LoadMethod;
|
||||
BuildLogger.Log($"Bundle文件加密完成:{filePath}");
|
||||
|
||||
Reference in New Issue
Block a user