From 4c0a97b7b184225fad5d5afa36472d06c12029b5 Mon Sep 17 00:00:00 2001 From: liufei Date: Thu, 29 Jul 2021 17:09:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E6=A3=80=E6=9F=A5=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.config | 2 +- Thread/UpdateThread.cs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/App.config b/App.config index 19ec54f..8f8a57e 100644 --- a/App.config +++ b/App.config @@ -24,7 +24,7 @@ - + diff --git a/Thread/UpdateThread.cs b/Thread/UpdateThread.cs index c0da24b..6be5d06 100644 --- a/Thread/UpdateThread.cs +++ b/Thread/UpdateThread.cs @@ -30,6 +30,10 @@ namespace GeekDesk.Thread { try { + + //等待1分钟后再检查更新 有的网络连接过慢 + System.Threading.Thread.Sleep(60 * 1000); + string updateUrl; string nowVersion = ConfigurationManager.AppSettings["Version"]; switch (appConfig.UpdateType)