Update AssetBundleBuilder

pull/31/head
hevinci 2022-07-31 22:51:40 +08:00
parent 9c67461dbc
commit d94d196c83
3 changed files with 9 additions and 9 deletions

View File

@ -30,7 +30,7 @@ namespace YooAsset.Editor
/// </summary> /// </summary>
public static string MakePipelineOutputDirectory(string outputRoot, BuildTarget buildTarget) public static string MakePipelineOutputDirectory(string outputRoot, BuildTarget buildTarget)
{ {
return $"{outputRoot}/{buildTarget}/{YooAssetSettingsData.Setting.UnityManifestFileName}"; return $"{outputRoot}/{buildTarget}/{YooAssetSettingsData.Setting.OutputFolderName}";
} }
/// <summary> /// <summary>

View File

@ -75,15 +75,15 @@ namespace YooAsset.Editor
{ {
// 拷贝UnityManifest序列化文件 // 拷贝UnityManifest序列化文件
{ {
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.UnityManifestFileName}"; string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}";
string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.UnityManifestFileName}"; string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}";
EditorTools.CopyFile(sourcePath, destPath, true); EditorTools.CopyFile(sourcePath, destPath, true);
} }
// 拷贝UnityManifest文本文件 // 拷贝UnityManifest文本文件
{ {
string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.UnityManifestFileName}.manifest"; string sourcePath = $"{buildParameters.PipelineOutputDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}.manifest";
string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.UnityManifestFileName}.manifest"; string destPath = $"{packageDirectory}/{YooAssetSettingsData.Setting.OutputFolderName}.manifest";
EditorTools.CopyFile(sourcePath, destPath, true); EditorTools.CopyFile(sourcePath, destPath, true);
} }
} }

View File

@ -20,11 +20,11 @@ namespace YooAsset
/// </summary> /// </summary>
public string PatchManifestFileName = "PatchManifest"; public string PatchManifestFileName = "PatchManifest";
/// <summary>
/// 构建输出的Unity清单文件名称
/// </summary>
public string UnityManifestFileName = "UnityManifest";
/// <summary>
/// 构建输出文件夹名称
/// </summary>
public const string OutputFolderName = "OutputCache";
/// <summary> /// <summary>
/// 构建输出的报告文件 /// 构建输出的报告文件