From 7dede46133a37806ed6d162f71c4027330095180 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Wed, 26 May 2021 13:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90version=E3=80=91=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=88=B0resources=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs b/Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs index 9b1f691b42..cb4c364b2b 100644 --- a/Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs +++ b/Assets/Scripts/Editor/GameEditor/FrameTool/BuildWindow.cs @@ -248,9 +248,9 @@ namespace GameEditor.FrameTool { public class VersionWindow : EditorWindow { static string versionPath = Application.dataPath + "/../Version"; - static string editorVersion = Application.dataPath + "/../AssetBundles/version.txt"; - static string persistVersion = Application.dataPath + "/Resources/version.txt"; - static string streamVersion = AppConst.StreamPath + "/Resources/version.txt"; + static string editorVersion = Application.dataPath + "/../AssetBundles/" + AppConst.GameVersionFile; + //static string persistVersion = Application.dataPath + "/Resources/version.txt"; + static string streamVersion = AppConst.StreamPath + AppConst.GameVersionFile; static VersionTxt m_VersionTxt; // 热更版本 @@ -297,7 +297,7 @@ namespace GameEditor.FrameTool { private static void SaveToBuildPath() { string json = JsonUtility.ToJson(m_VersionTxt); - SaveToVersion(persistVersion, json); + //SaveToVersion(persistVersion, json); SaveToVersion(streamVersion, json); } // 保存到version