Remove debug code

This commit is contained in:
2023-08-02 17:27:50 +08:00
parent 749aae02ca
commit e9a3f4014e

View File

@ -69,16 +69,17 @@ namespace GrasscutterTools.Pages
} }
private readonly string ServerRecordsFilePath = Common.GetAppDataFile("Servers.json"); private readonly string ServerRecordsFilePath = Common.GetAppDataFile("Servers.json");
private List<ServerRecord> ServerRecords = new List<ServerRecord> private List<ServerRecord> ServerRecords = new List<ServerRecord>();
{
new ServerRecord //{
{ // new ServerRecord
Host = "http://127.0.0.1:443", // {
Tag = "Localhost", // Host = "http://127.0.0.1:443",
Token = "123456", // Tag = "Localhost",
Uid = 10001, // Token = "123456",
} // Uid = 10001,
}; // }
//};
private void InitServerRecords() private void InitServerRecords()
{ {
if (!File.Exists(ServerRecordsFilePath)) if (!File.Exists(ServerRecordsFilePath))
@ -109,9 +110,7 @@ namespace GrasscutterTools.Pages
} }
} }
#endregion - -
#endregion
/// <summary> /// <summary>
/// 在运行按钮上显示提示,要求主窗口设置 /// 在运行按钮上显示提示,要求主窗口设置