111
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Stary.Evo.Editor
|
||||
public static OdinEditorWindow window;
|
||||
private HotfixMainResDomain hotfixMainResDomain;
|
||||
|
||||
[MenuItem("Evo/资源打包工具")]
|
||||
[MenuItem("Evo/Dev/资源打包工具")]
|
||||
static void ShowWindows()
|
||||
{
|
||||
#if NotUpdate
|
||||
@@ -177,7 +177,7 @@ namespace Stary.Evo.Editor
|
||||
[HorizontalGroup("Build/BuildPipeline"), HideLabel]
|
||||
public string buildTarget;
|
||||
|
||||
public static string packageName;
|
||||
private static string packageName;
|
||||
|
||||
#region HyBridCLRBuild
|
||||
|
||||
@@ -204,7 +204,7 @@ namespace Stary.Evo.Editor
|
||||
[Title("标记资源", titleAlignment: TitleAlignments.Centered)]
|
||||
[HorizontalGroup("Build/HyBridClrBuildEntity"), HideLabel]
|
||||
public BuildAssetEntity markAssetEntity =
|
||||
new BuildAssetEntity("MarkAsset", "MarkAsset", MarkAdressable.AddMark);
|
||||
new BuildAssetEntity("MarkAsset", "MarkAsset", MarkAdressable.AddDomainMark);
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -230,7 +230,7 @@ namespace Stary.Evo.Editor
|
||||
|
||||
if (selectedPackageNames.IsNullOrEmpty())
|
||||
{
|
||||
// string buildPackageName = DataSetting.packageName;
|
||||
// string buildPackageName = packageName;
|
||||
// if (result.Exists(p => p == buildPackageName))
|
||||
// {
|
||||
// selectedPackageNames = buildPackageName;
|
||||
@@ -548,7 +548,6 @@ namespace Stary.Evo.Editor
|
||||
}
|
||||
GUILayout.EndScrollView();
|
||||
|
||||
BuildServerPath();
|
||||
UpdateBuildPipelineButtonName();
|
||||
}
|
||||
|
||||
@@ -558,30 +557,7 @@ namespace Stary.Evo.Editor
|
||||
onUpdateBuildPipelineEntity.SetButtonName($"更新至服务器【版本:{BuildAssetDataSetting.packageVersion}】");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 生成服务器路径
|
||||
/// </summary>
|
||||
private void BuildServerPath()
|
||||
{
|
||||
// if (!_isCheckDriveExist)
|
||||
// {
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// updateServerPath =
|
||||
// $"Z:/{Application.productName}/{BuildAssetDataSetting.packageName}/{EditorUserBuildSettings.activeBuildTarget}/{BuildAssetDataSetting.packageVersion}";
|
||||
// if (!Directory.Exists(updateServerPath))
|
||||
// Directory.CreateDirectory(updateServerPath);
|
||||
|
||||
//更新Button文字
|
||||
onBuildPipelineEntity.SetButtonName($"打包资源包【版本:{BuildAssetDataSetting.packageVersion}】");
|
||||
onUpdateBuildPipelineEntity.SetButtonName($"更新至服务器【版本:{BuildAssetDataSetting.packageVersion}】");
|
||||
}
|
||||
}
|
||||
|
||||
public enum BuildAssetType
|
||||
{
|
||||
Login,
|
||||
Build,
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user