diff --git a/Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs b/Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs index 5792b0a51a..0964fb92bf 100644 --- a/Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs +++ b/Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs @@ -67,11 +67,11 @@ namespace GameEditor.FrameTool { /// void InitGames() { - version = new Version(Resources.Load(VersionsFile).text); - defaultVersion = version.GetInfo("version"); - subChannel = version.GetInfo("subChannel"); - serverUrl = version.GetInfo("serverUrl"); - resUrl = version.GetInfo("resUrl"); + //version = new Version(Resources.Load(VersionsFile).text); + //defaultVersion = version.GetInfo("version"); + //subChannel = version.GetInfo("subChannel"); + //serverUrl = version.GetInfo("serverUrl"); + //resUrl = version.GetInfo("resUrl"); } void OnGUI() @@ -83,15 +83,15 @@ namespace GameEditor.FrameTool { EditorGUILayout.EndVertical(); isCopyABSToStreamingAssets = EditorGUILayout.BeginToggleGroup("拷贝AssetBundle到流媒体目录(打包到App包体内)", isCopyABSToStreamingAssets); - if (isCopyABSToStreamingAssets) - { - EditorGUILayout.BeginVertical(); - defaultVersion = EditorGUILayout.TextField("Version", defaultVersion); - subChannel = EditorGUILayout.TextField("SubChannel", subChannel); - serverUrl = EditorGUILayout.TextField("ServerUrl", serverUrl); - resUrl = EditorGUILayout.TextField("ResUrl", resUrl); - EditorGUILayout.EndVertical(); - } + //if (isCopyABSToStreamingAssets) + //{ + // EditorGUILayout.BeginVertical(); + // defaultVersion = EditorGUILayout.TextField("Version", defaultVersion); + // subChannel = EditorGUILayout.TextField("SubChannel", subChannel); + // serverUrl = EditorGUILayout.TextField("ServerUrl", serverUrl); + // resUrl = EditorGUILayout.TextField("ResUrl", resUrl); + // EditorGUILayout.EndVertical(); + //} EditorGUILayout.EndToggleGroup(); EditorGUILayout.Space(); @@ -128,7 +128,7 @@ namespace GameEditor.FrameTool { File.Copy(exportPath + "/lzma/luabytes.unity3d", targetPath + "/lzma/luabytes.unity3d", true); File.Copy(exportPath + "/lzma/resconfigs.unity3d", targetPath + "/lzma/resconfigs.unity3d", true); File.Copy(exportPath + "/files.unity3d", targetPath + "/files.unity3d", true); - SaveVersionFile(); + //SaveVersionFile(); } Close(); } @@ -160,7 +160,7 @@ namespace GameEditor.FrameTool { if (isCopyABSToStreamingAssets) { FrameTool.CopyAssetBundleToStreamingAssets(); - SaveVersionFile(); + //SaveVersionFile(); } //是否BuildPlayer if (isBuildPlayer)