File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,10 @@ BOOL CPluginManagerDlg::OnInitDialog()
185185 m_list_ctrl.SetItemText (index, COL_STATUS, status);
186186 }
187187
188- m_plugin_download_lnk.SetURL (L" https://github.com/zhongyang219/TrafficMonitorPlugins/blob/main/download/plugin_download.md" );
188+ if (theApp.m_general_data .update_source == 1 ) // 更新源为Gitee,跳转到Gitee的链接
189+ m_plugin_download_lnk.SetURL (L" https://gitee.com/zhongyang219/TrafficMonitorPlugins/blob/main/download/plugin_download.md" );
190+ else // 更新源为Github
191+ m_plugin_download_lnk.SetURL (L" https://github.com/zhongyang219/TrafficMonitorPlugins/blob/main/download/plugin_download.md" );
189192 m_plugin_dev_guide_lnk.SetURL (L" https://github.com/zhongyang219/TrafficMonitor/wiki/%E6%8F%92%E4%BB%B6%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97" );
190193 m_open_plugin_dir_lnk.SetLinkIsURL (false );
191194
You can’t perform that action at this time.
0 commit comments