Browse Source

Pull request #5977: REPORT-59976 11.0更新有bug

Merge in DESIGN/design from ~BRYANT/design:final/11.0 to final/11.0

* commit 'f384b0c7f1224c10f958e94bab86f3e8ed790262':
  Update designer-base/src/main/java/com/fr/design/update/ui/dialog/UpdateMainDialog.java
  Update designer-base/src/main/java/com/fr/design/update/push/DesignerPushUpdateManager.java
new-design
Bryant 3 years ago
parent
commit
898c8a9199
  1. 2
      designer-base/src/main/java/com/fr/design/update/push/DesignerPushUpdateManager.java
  2. 2
      designer-base/src/main/java/com/fr/design/update/ui/dialog/UpdateMainDialog.java

2
designer-base/src/main/java/com/fr/design/update/push/DesignerPushUpdateManager.java

@ -60,7 +60,7 @@ public class DesignerPushUpdateManager {
private String getFullLatestVersion() { private String getFullLatestVersion() {
try { try {
String url = CloudCenter.getInstance().acquireUrlByKind("jar10.update"); String url = CloudCenter.getInstance().acquireUrlByKind("jar11.update");
if(StringUtils.isBlank(url)){ if(StringUtils.isBlank(url)){
return StringUtils.EMPTY; return StringUtils.EMPTY;
} }

2
designer-base/src/main/java/com/fr/design/update/ui/dialog/UpdateMainDialog.java

@ -350,7 +350,7 @@ public class UpdateMainDialog extends UIDialog {
new SwingWorker<JSONObject, Void>() { new SwingWorker<JSONObject, Void>() {
@Override @Override
protected JSONObject doInBackground() throws Exception { protected JSONObject doInBackground() throws Exception {
return new JSONObject(HttpToolbox.get(CloudCenter.getInstance().acquireUrlByKind("jar10.update"))); return new JSONObject(HttpToolbox.get(CloudCenter.getInstance().acquireUrlByKind("jar11.update")));
} }
@Override @Override

Loading…
Cancel
Save