This commit is contained in:
2026-06-12 16:53:44 +08:00
parent 0c1fa609c0
commit 2deebe21cb
2 changed files with 4 additions and 4 deletions
@@ -58,6 +58,7 @@ namespace SGModule.ConfigLoader
if (names.Length > 0)
{
Debug.Log("0000000000000000000000000000008");
Debug.Log("0000000000000000000000000000009"+names[0]);
SetSavedConfigFileName(names[0]);
isSuccess = true;
}
@@ -151,8 +152,7 @@ namespace SGModule.ConfigLoader
Debug.Log(savedCfgName);
FirstLaunchCopyConfig(success =>
{
savedCfgName = SavedConfigFileName;
path = Path.Combine(FileNetworkManager.Instance.GetConfigFOlderPath(), savedCfgName);
path = Path.Combine(FileNetworkManager.Instance.GetConfigFOlderPath(), SavedConfigFileName);
FileNetworkManager.Instance.ReadData(path, result =>
{
if (!string.IsNullOrEmpty(result))
@@ -177,7 +177,7 @@ namespace SGModule.ConfigLoader
callback?.Invoke(ConfigLoaderState.Failed);
return;
}
Debug.Log("是否第一次登录"+IsFirstLaunch);
if (IsFirstLaunch)
{
FirstLaunchCopyConfig(success =>