Update On Fri Oct 25 20:37:23 CEST 2024

This commit is contained in:
github-action[bot]
2024-10-25 20:37:24 +02:00
parent 509ec96228
commit b8d3af4b42
103 changed files with 3032 additions and 2372 deletions
@@ -208,7 +208,8 @@ namespace ServiceLib.ViewModels
await ConfigHandler.InitBuiltinRouting(_config);
await ConfigHandler.InitBuiltinDNS(_config);
CoreHandler.Instance.Init(_config, UpdateHandler);
await ProfileExHandler.Instance.Init();
await CoreHandler.Instance.Init(_config, UpdateHandler);
TaskHandler.Instance.RegUpdateTask(_config, UpdateTaskHandler);
if (_config.GuiItem.EnableStatistics)
@@ -389,6 +390,10 @@ namespace ServiceLib.ViewModels
RefreshServers();
NoticeHandler.Instance.Enqueue(string.Format(ResUI.SuccessfullyImportedServerViaClipboard, ret));
}
else
{
NoticeHandler.Instance.Enqueue(ResUI.OperationFailed);
}
}
public async Task AddServerViaScanAsync()
@@ -433,6 +438,10 @@ namespace ServiceLib.ViewModels
RefreshServers();
NoticeHandler.Instance.Enqueue(ResUI.SuccessfullyImportedServerViaScan);
}
else
{
NoticeHandler.Instance.Enqueue(ResUI.OperationFailed);
}
}
}