💩 防止无法弹出更新窗口
This commit is contained in:
@@ -51,14 +51,18 @@ namespace GeekDesk.MyThread
|
||||
{
|
||||
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();
|
||||
if (onlineVersion.CompareTo(nowVersion) > 0)
|
||||
|
||||
Reference in New Issue
Block a user