Browse Source

REPORT-14865 更新日志推送=>调整代码

research/10.0
plough 6 years ago
parent
commit
d6b79f0742
  1. 7
      designer-base/src/main/java/com/fr/design/update/push/DesignerPushUpdateManager.java

7
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);

Loading…
Cancel
Save