Commit 94a5187d authored by 247321453's avatar 247321453

fix

parent 9217edf9
...@@ -30,8 +30,8 @@ public static bool CheckUpdate() ...@@ -30,8 +30,8 @@ public static bool CheckUpdate()
MyMsg.Error("无法获取版本!"); MyMsg.Error("无法获取版本!");
return false; return false;
} }
l=html.IndexOf(" "); l=html.IndexOf(" time:");
ver=(l>=0)?html.Substring(0,l):"?.?.?.?"; ver=(l>=0)?html.Substring(4,l):"?.?.?.?";
lasttime=(l>=0)?html.Substring(l):"????-??-?? ??:??"; lasttime=(l>=0)?html.Substring(l):"????-??-?? ??:??";
MyMsg.Show("当前版本:"+Application.ProductVersion MyMsg.Show("当前版本:"+Application.ProductVersion
+"\n最新版本:"+ver +"\n最新版本:"+ver
......
1.1.0.3 2014-5-21 10:00 ver:1.1.0.3 time:2014-5-21 10:00
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment