Feature: Add command for client sending msg to master

This commit is contained in:
shaun
2025-12-15 16:21:00 +01:00
parent 52239dbfba
commit 250ae09898
9 changed files with 77 additions and 16 deletions

View File

@@ -139,6 +139,12 @@ BOOL CSettingDlg::OnInitDialog()
BOOL frp = THIS_CFG.GetInt("frp", "UseFrp");
((CButton*)GetDlgItem(IDC_RADIO_FRP_OFF))->SetCheck(!frp);
((CButton*)GetDlgItem(IDC_RADIO_FRP_ON))->SetCheck(frp);
#ifndef _WIN64
GetDlgItem(IDC_RADIO_FRP_OFF)->EnableWindow(FALSE);
GetDlgItem(IDC_RADIO_FRP_ON)->EnableWindow(FALSE);
GetDlgItem(IDC_EDIT_FRP_PORT)->EnableWindow(FALSE);
GetDlgItem(IDC_EDIT_FRP_TOKEN)->EnableWindow(FALSE);
#endif
m_nFrpPort = THIS_CFG.GetInt("frp", "server_port", 7000);
m_sFrpToken = THIS_CFG.GetStr("frp", "token").c_str();