【配置】获取配置前,拉取更新
parent
a15bd40b96
commit
a3bc278624
|
@ -41,6 +41,7 @@ public class ClientConfigManager
|
|||
// 获取所有的version文件列表
|
||||
public string[] GetVersionList()
|
||||
{
|
||||
SVN_Update();
|
||||
string versionPath = localPath + "/Version";
|
||||
string[] list = Directory.GetDirectories(versionPath);
|
||||
Debug.LogError(list.Length);
|
||||
|
@ -50,6 +51,7 @@ public class ClientConfigManager
|
|||
// 获取热更新用的配置文件
|
||||
public Hashtable GetHotFixConfig()
|
||||
{
|
||||
SVN_Update();
|
||||
string hotfixConfig = localPath + "/HotFixWindow.txt";
|
||||
Hashtable config = null;
|
||||
if (File.Exists(hotfixConfig))
|
||||
|
@ -64,6 +66,7 @@ public class ClientConfigManager
|
|||
// 获取打包工具配置文件
|
||||
public Hashtable GetAutoPackConfig()
|
||||
{
|
||||
SVN_Update();
|
||||
string hotfixConfig = localPath + "/AutoPack.txt";
|
||||
Hashtable config = null;
|
||||
if (File.Exists(hotfixConfig))
|
||||
|
@ -76,6 +79,7 @@ public class ClientConfigManager
|
|||
// 获取校验服同步工程配置文件
|
||||
public Hashtable GetFightServerConfig()
|
||||
{
|
||||
SVN_Update();
|
||||
string hotfixConfig = localPath + "/FightServer.txt";
|
||||
Hashtable config = null;
|
||||
if (File.Exists(hotfixConfig))
|
||||
|
|
|
@ -326,7 +326,6 @@ namespace GameEditor.FrameTool {
|
|||
{
|
||||
//if (!string.IsNullOrEmpty(versionPath) && Directory.Exists(versionPath))
|
||||
//{
|
||||
ClientConfigManager.Instance.SVN_Update();
|
||||
m_Files = ClientConfigManager.Instance.GetVersionList();//Directory.GetFiles(versionPath, "*.txt", SearchOption.AllDirectories);
|
||||
m_Choose = new bool[m_Files.Length];
|
||||
//}
|
||||
|
|
Loading…
Reference in New Issue