2508141837
This commit is contained in:
parent
5d19e6a258
commit
32eeaa0a83
8
Env.cs
8
Env.cs
@ -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");
|
||||
}
|
||||
|
@ -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()
|
||||
|
26
config.ini
26
config.ini
@ -1,26 +0,0 @@
|
||||
HeartBeatUrl=http://zqd.superstar.dnsnet.cc
|
||||
PhoneIP=zqd.superstar.dnsnet.cc
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user