Browse Source

fix 调整下

feature/big-screen
hades 5 years ago
parent
commit
122fec07dc
  1. 7
      designer-realize/src/main/java/com/fr/start/DesignerLauncher.java

7
designer-realize/src/main/java/com/fr/start/DesignerLauncher.java

@ -5,6 +5,8 @@ import com.fr.process.engine.FineJavaProcessFactory;
import com.fr.process.engine.core.FineProcessContext;
import com.fr.stable.StableUtils;
import java.io.File;
/**
* @author hades
* @version 10.0
@ -12,6 +14,9 @@ import com.fr.stable.StableUtils;
*/
public class DesignerLauncher {
private static final String BIN_HOME = ".".equals(StableUtils.getInstallHome()) ?
"." : StableUtils.getInstallHome() + File.separator + "bin";
private static final DesignerLauncher INSTANCE = new DesignerLauncher();
private String[] args;
@ -33,7 +38,7 @@ public class DesignerLauncher {
inheritJvmSettings().
jvmSettings(DesignerJavaRuntime.getInstance().getJvmOptions()).
arguments(args).
directory(StableUtils.getInstallHome()).
directory(BIN_HOME).
startProcess(DesignerProcessType.INSTANCE);
DesignerSuperListener.getInstance().start();
}

Loading…
Cancel
Save