更新NetchCore.dll, 移除安装运行库提示

This commit is contained in:
ChsBuffer
2020-08-09 09:03:21 +08:00
parent e5e7892741
commit 26cde4a8bb
7 changed files with 14 additions and 38 deletions

View File

@@ -140,7 +140,7 @@ namespace Netch.Controllers
}
catch (Exception e)
{
Logging.Error("加密代理启动失败未处理异常: " + e);
Logging.Error("加密代理启动失败未处理异常: " + e);
result = false;
}
}
@@ -180,7 +180,7 @@ namespace Netch.Controllers
if (e is DllNotFoundException || e is FileNotFoundException)
MessageBoxX.Show(e.Message + "\n\n" + i18N.Translate("Missing File or runtime components"), owner: Global.MainForm);
else
Logging.Error("模式启动失败未处理异常" + e);
Logging.Error("模式启动失败未处理异常: " + e);
result = false;
}
}
@@ -222,7 +222,14 @@ namespace Netch.Controllers
if (!result)
{
Logging.Error("主控制器启动失败");
await Stop();
try
{
await Stop();
}
catch
{
// ignored
}
}
return result;