迁移部分常用路径
This commit is contained in:
1 parent
e9cd356f2b
commit
966b2db312
5 files changed
+30
-14
No files matched your search
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user