|
|
|
@ -462,7 +462,7 @@ public class UpdateMainDialog extends UIDialog {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//从文件中读取缓存的更新信息
|
|
|
|
|
private void getCachedUpdateInfo(String keyword) throws Exception { |
|
|
|
|
private void getCachedUpdateInfo(String keyword) { |
|
|
|
|
String cacheInfoPath = getUpdateCacheInfo(); |
|
|
|
|
File cacheFile = new File(StableUtils.pathJoin(WorkContext.getCurrent().getPath(), "resources", "offlineres", cacheInfoPath)); |
|
|
|
|
if (!ComparatorUtils.equals(lastUpdateCacheState, "success")) { |
|
|
|
@ -491,6 +491,8 @@ public class UpdateMainDialog extends UIDialog {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
FineLoggerFactory.getLogger().error(e, e.getMessage()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|