From d6b79f07429879822ea43d9bccd76bcce3642704 Mon Sep 17 00:00:00 2001 From: plough Date: Tue, 16 Apr 2019 22:37:59 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-14865=20=E6=9B=B4=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=8E=A8=E9=80=81=3D>=E8=B0=83=E6=95=B4=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/update/push/DesignerPushUpdateManager.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/update/push/DesignerPushUpdateManager.java b/designer-base/src/main/java/com/fr/design/update/push/DesignerPushUpdateManager.java index 3620b2962d..7ac254c93c 100644 --- a/designer-base/src/main/java/com/fr/design/update/push/DesignerPushUpdateManager.java +++ b/designer-base/src/main/java/com/fr/design/update/push/DesignerPushUpdateManager.java @@ -94,7 +94,7 @@ public class DesignerPushUpdateManager { /** * 检查更新,如果有合适的更新版本,则弹窗 */ - public void checkAndPop() { + private void checkAndPop() { new Thread() { @Override public void run() { @@ -111,11 +111,6 @@ public class DesignerPushUpdateManager { private boolean shouldPopUp() { if (updateInfo == null) { String fullCurrentVersion = GeneralUtils.readFullBuildNO(); - // todo: 开发测试用 - if (!fullCurrentVersion.contains(SPLIT_CHAR)) { - fullCurrentVersion = "stable-2019.01.03.17.01.05.257"; - } - String fullLatestVersion = getFullLatestVersion(); boolean isValidJarVersion = isValidJarVersion(fullCurrentVersion, fullLatestVersion);