|
@@ -51,14 +51,18 @@ namespace GeekDesk.MyThread
|
|
{
|
|
{
|
|
JObject jo = JObject.Parse(updateInfo);
|
|
JObject jo = JObject.Parse(updateInfo);
|
|
|
|
|
|
-
|
|
|
|
- string statisticUrl = jo["statisticUrl"].ToString();
|
|
|
|
- if (!string.IsNullOrEmpty(statisticUrl))
|
|
|
|
|
|
+ try
|
|
{
|
|
{
|
|
- //用户统计 只通过uuid统计用户数量 不收集任何信息
|
|
|
|
- statisticUrl += "?uuid=" + CommonCode.GetUniqueUUID();
|
|
|
|
- HttpUtil.Get(statisticUrl);
|
|
|
|
- }
|
|
|
|
|
|
+ string statisticUrl = jo["statisticUrl"].ToString();
|
|
|
|
+ if (!string.IsNullOrEmpty(statisticUrl))
|
|
|
|
+ {
|
|
|
|
+ //用户统计 只通过uuid统计用户数量 不收集任何信息
|
|
|
|
+ statisticUrl += "?uuid=" + CommonCode.GetUniqueUUID();
|
|
|
|
+ HttpUtil.Get(statisticUrl);
|
|
|
|
+ }
|
|
|
|
+ } catch (Exception){}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
string onlineVersion = jo["version"].ToString();
|
|
string onlineVersion = jo["version"].ToString();
|
|
if (onlineVersion.CompareTo(nowVersion) > 0)
|
|
if (onlineVersion.CompareTo(nowVersion) > 0)
|