💩 防止无法弹出更新窗口
This commit is contained in:
@@ -51,7 +51,8 @@ namespace GeekDesk.MyThread
|
|||||||
{
|
{
|
||||||
JObject jo = JObject.Parse(updateInfo);
|
JObject jo = JObject.Parse(updateInfo);
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
string statisticUrl = jo["statisticUrl"].ToString();
|
string statisticUrl = jo["statisticUrl"].ToString();
|
||||||
if (!string.IsNullOrEmpty(statisticUrl))
|
if (!string.IsNullOrEmpty(statisticUrl))
|
||||||
{
|
{
|
||||||
@@ -59,6 +60,9 @@ namespace GeekDesk.MyThread
|
|||||||
statisticUrl += "?uuid=" + CommonCode.GetUniqueUUID();
|
statisticUrl += "?uuid=" + CommonCode.GetUniqueUUID();
|
||||||
HttpUtil.Get(statisticUrl);
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user