update editor logic

移除BundleName_HashName选项。
pull/62/head
hevinci 2022-12-07 11:25:41 +08:00
parent ac251114ff
commit e3fa33b9b5
2 changed files with 3 additions and 8 deletions

View File

@ -48,7 +48,7 @@ namespace YooAsset.Editor
// 4.更新补丁包输出的文件路径 // 4.更新补丁包输出的文件路径
foreach (var bundleInfo in buildMapContext.BundleInfos) foreach (var bundleInfo in buildMapContext.BundleInfos)
{ {
string patchFileName = PatchManifest.CreateBundleFileName(outputNameStyle, bundleInfo.BundleName, bundleInfo.PatchInfo.PatchFileHash); string patchFileName = PatchManifest.CreateBundleFileName(outputNameStyle, bundleInfo.BundleName, bundleInfo.PatchInfo.PatchFileHash, bundleInfo.IsRawFile);
bundleInfo.PatchInfo.PatchOutputFilePath = $"{packageOutputDirectory}/{patchFileName}"; bundleInfo.PatchInfo.PatchOutputFilePath = $"{packageOutputDirectory}/{patchFileName}";
} }
} }

View File

@ -17,13 +17,8 @@ namespace YooAsset.Editor
HashName_Extension = 2, HashName_Extension = 2,
/// <summary> /// <summary>
/// bundle_name_000000000000000f000000000000000 /// 000000000000000f000000000000000_bundle_name.bundle
/// </summary> /// </summary>
BundleName_HashName = 3, HashName_BundleName_Extension = 4,
/// <summary>
/// bundle_name_000000000000000f000000000000000.bundle
/// </summary>
BundleName_HashName_Extension = 4,
} }
} }