This commit is contained in:
2020-10-19 23:34:29 +08:00
parent d907e0f2d1
commit eb36dca7d3
13 changed files with 49 additions and 48 deletions

View File

@@ -5,6 +5,7 @@ using UnityEditor;
using Coolape;
using System.IO;
using System.Net;
using System.Text;
public class ECLUpgradeBindingServer : EditorWindow
{
@@ -378,7 +379,7 @@ public class ECLUpgradeBindingServer : EditorWindow
string str = JSON.JsonEncode(content);
Debug.Log(str);
string path = Path.Combine(Application.dataPath, CLPathCfg.self.basePath, "serversCfg/servers.json");
File.WriteAllText(path, str);
File.WriteAllText(path, str, Encoding.UTF8);
ThreadEx.exec(new System.Threading.ParameterizedThreadStart(doUploadServers), path);
}