迁移部分常用路径

This commit is contained in:
龙腾猫跃 committed 2026-06-18 21:43:27 +08:00
1 parent e9cd356f2b
commit 966b2db312
5 files changed
+30 -14

No files matched your search

+3 -1
View File
@@ -1,7 +1,9 @@
namespace MeloongCore;
public static class Main {
public static void Init(BaseLogger? logger = null) {
public static string AppName = "Meloong";
public static void Init(string appName, BaseLogger? logger = null) {
AppName = appName;
AppDomain.CurrentDomain.SetData("REGEX_DEFAULT_MATCH_TIMEOUT", TimeSpan.FromSeconds(5));
if (logger != null) Logger.Instance = logger;
}