【version】不再保存到resources路径
parent
653d9bbd06
commit
7dede46133
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue