mm
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user