Browse Source

REPORT-10159

research/10.0
Mata.Li 6 years ago
parent
commit
432e3aaff9
  1. 2
      designer-base/src/main/java/com/fr/design/DesignerEnvManager.java

2
designer-base/src/main/java/com/fr/design/DesignerEnvManager.java

@ -502,7 +502,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
* 返回默认环境 * 返回默认环境
*/ */
public DesignerWorkspaceInfo getDefaultConfig() { public DesignerWorkspaceInfo getDefaultConfig() {
String installHome = "D:\\应用\\FineReport_10.0";// StableUtils.getInstallHome(); String installHome = StableUtils.getInstallHome();
String defaultenvPath = getDefaultenvPath(installHome); String defaultenvPath = getDefaultenvPath(installHome);
defaultenvPath = new File(defaultenvPath).getPath(); defaultenvPath = new File(defaultenvPath).getPath();
Iterator<Entry<String, DesignerWorkspaceInfo>> entryIt = nameEnvMap.entrySet().iterator(); Iterator<Entry<String, DesignerWorkspaceInfo>> entryIt = nameEnvMap.entrySet().iterator();

Loading…
Cancel
Save