Code optimization, function asynchrony

This commit is contained in:
2dust
2024-10-20 11:51:05 +08:00
parent 50449df08d
commit 394b657fc9
29 changed files with 467 additions and 526 deletions
@@ -341,7 +341,7 @@ namespace ServiceLib.ViewModels
//coreType
SaveCoreType();
if (ConfigHandler.SaveConfig(_config) == 0)
if (await ConfigHandler.SaveConfig(_config) == 0)
{
if (needReboot)
{