🧑‍💻 提升开发者体验

This commit is contained in:
liufei
2022-05-25 16:45:47 +08:00
parent e0824f3067
commit 28d6fe07d4
3 changed files with 10 additions and 4 deletions

View File

@@ -27,7 +27,13 @@ namespace GeekDesk.MyThread
{
//等待1分钟后再检查更新 有的网络连接过慢
System.Threading.Thread.Sleep(60 * 1000);
int sleepTime = 60 * 1000;
if (Constants.DEV)
{
sleepTime = 1;
}
System.Threading.Thread.Sleep(sleepTime);
string updateUrl;
string nowVersion = ConfigurationManager.AppSettings["Version"];