Browse Source

REPORT-23486 修复bug以及更改文件夹

feature/big-screen
Bryant 5 years ago
parent
commit
050a34b34d
  1. 4
      designer-base/src/main/java/com/fr/design/update/actions/RecoverForDesigner.java

4
designer-base/src/main/java/com/fr/design/update/actions/RecoverForDesigner.java

@ -1,7 +1,7 @@
package com.fr.design.update.actions;
import com.fr.decision.update.backup.Recover;
import com.fr.decision.update.data.LibPathManager;
import com.fr.decision.workspace.EnvPathManager;
import com.fr.decision.update.data.UpdateConstants;
import com.fr.decision.update.exception.UpdateException;
import com.fr.design.mainframe.DesignerContext;
@ -41,7 +41,7 @@ public class RecoverForDesigner implements Recover {
public boolean backup() {
//jar包备份文件的目录为"backup/"+jar包当前版本号
String todayBackupDir = StableUtils.pathJoin(installHome, UpdateConstants.DESIGNER_BACKUP_DIR, (GeneralUtils.readBuildNO()));
String envHome = LibPathManager.getInstance().getEnvHome();
String envHome = EnvPathManager.getInstance().getEnvHome();
backupFilesFromInstallEnv(envHome, todayBackupDir);
backupFilesFromInstallLib(installHome, todayBackupDir);
try {

Loading…
Cancel
Save