2508141837

This commit is contained in:
jasonchenwork 2025-08-14 18:38:11 +08:00
parent 5d19e6a258
commit 32eeaa0a83
3 changed files with 5 additions and 31 deletions

8
Env.cs
View File

@ -21,9 +21,9 @@ namespace Utils
static Env()
{
// foreach (var path in KtvPaths)
// {
var path = AppDomain.CurrentDomain.BaseDirectory;
foreach (var path in KtvPaths)
{
// var path = Application.StartupPath;
var configPath = Path.Combine(path, "config.ini");
if (File.Exists(configPath))
@ -49,7 +49,7 @@ namespace Utils
return; // 找到一份 config 就跳出
}
// }
}
Console.WriteLine("所有指定目錄都找不到 config.ini");
}

View File

@ -14,7 +14,7 @@ namespace DualScreenDemo
private static PrimaryForm primaryForm; // 儲存實例的參考
public static Room room = new Room();
public static string verSion = "Server V2.8 202508130945";
public static string verSion = "Server V2.91 202508141836";
[STAThread]
static void Main()

View File

@ -1,26 +0,0 @@
HeartBeatUrl=http://zqd.superstar.dnsnet.cc
PhoneIP=zqd.superstar.dnsnet.cc