Skip to content

Commit 2d3f942

Browse files
committed
当更新源为gitee时,皮肤下载链接改为gitee的链接
1 parent d5dd075 commit 2d3f942

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

TrafficMonitor/SkinDlg.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ BOOL CSkinDlg::OnInitDialog()
145145

146146
//设置超链接
147147
m_skin_course.SetURL(_T("https://github.com/zhongyang219/TrafficMonitor/wiki/%E7%9A%AE%E8%82%A4%E5%88%B6%E4%BD%9C%E6%95%99%E7%A8%8B"));
148-
m_skin_download.SetURL(_T("https://github.com/zhongyang219/TrafficMonitorSkin/blob/master/皮肤下载.md"));
148+
if (theApp.m_general_data.update_source == 1)
149+
m_skin_download.SetURL(_T("https://gitee.com/zhongyang219/TrafficMonitorSkin/blob/master/%E7%9A%AE%E8%82%A4%E4%B8%8B%E8%BD%BD.md"));
150+
else
151+
m_skin_download.SetURL(_T("https://github.com/zhongyang219/TrafficMonitorSkin/blob/master/皮肤下载.md"));
149152
m_open_skin_dir_lnk.SetLinkIsURL(false);
150153

151154
return TRUE; // return TRUE unless you set the focus to a control

0 commit comments

Comments
 (0)