💩 防止无法弹出更新窗口

This commit is contained in:
BookerLiu
2023-04-21 14:16:58 +08:00
parent 9485b801b6
commit ea39576709

View File

@@ -51,7 +51,8 @@ namespace GeekDesk.MyThread
{
JObject jo = JObject.Parse(updateInfo);
try
{
string statisticUrl = jo["statisticUrl"].ToString();
if (!string.IsNullOrEmpty(statisticUrl))
{
@@ -59,6 +60,9 @@ namespace GeekDesk.MyThread
statisticUrl += "?uuid=" + CommonCode.GetUniqueUUID();
HttpUtil.Get(statisticUrl);
}
} catch (Exception){}
string onlineVersion = jo["version"].ToString();
if (onlineVersion.CompareTo(nowVersion) > 0)