Browse Source

fix 调整

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

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

@ -14,8 +14,9 @@ import java.io.File;
*/
public class DesignerLauncher {
private static final String BIN_HOME = ".".equals(StableUtils.getInstallHome()) ?
"." : StableUtils.getInstallHome() + File.separator + "bin";
private static final String BIN = "bin";
private static final String DOT =".";
private static final String BIN_HOME = generateBinHome();
private static final DesignerLauncher INSTANCE = new DesignerLauncher();
@ -25,6 +26,11 @@ public class DesignerLauncher {
}
private static String generateBinHome() {
return DOT.equals(StableUtils.getInstallHome()) ?
DOT : StableUtils.getInstallHome() + File.separator + BIN;
}
public static DesignerLauncher getInstance() {
return INSTANCE;
}

Loading…
Cancel
Save