Compliance fix: Move LAN RTT check to KernelManager heartbeat

This commit is contained in:
yuanyuanxiang
2026-05-15 23:53:25 +02:00
parent 14387d69ca
commit 4279e79aa7
3 changed files with 19 additions and 10 deletions

View File

@@ -158,6 +158,8 @@ static inline int ColumnToDataSlot(int listCol) {
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
BOOL IsTrail(const std::string& passcode);
const int g_Column_Count_Message = 3; // 列表的个数
COLUMNSTRUCT g_Column_Data_Message[g_Column_Count_Message] = {
@@ -2025,6 +2027,8 @@ BOOL CMy2015RemoteDlg::OnInitDialog()
strcpy(m_settings.HelpUrl, THIS_CFG.GetStr("settings", "HelpUrl", BRAND_URL_WIKI).c_str());
strcpy(m_settings.RequestAuthUrl, THIS_CFG.GetStr("settings", "RequestAuthUrl", BRAND_URL_REQUEST_AUTH).c_str());
strcpy(m_settings.GetPluginUrl, THIS_CFG.GetStr("settings", "GetPluginUrl", BRAND_URL_GET_PLUGIN).c_str());
m_settings.Authorized = !pwd.empty() && !THIS_CFG.GetStr("settings", "PwdHmac").empty();
m_settings.IsTrail = IsTrail(pwd);
m_bEnableFileV2 = THIS_CFG.GetInt("settings", "EnableFileV2", 0) != 0;
// 缩略图配置:从 [thumbnail] 节读取(独立于 MasterSettings纯主控端 UI 偏好)。