Browse Source

REPORT-19946 Linux设计器

feature/big-screen
pengda 5 years ago
parent
commit
8541021b9d
  1. 2
      designer-base/src/main/java/com/fr/design/os/impl/DemoAction.java
  2. 2
      designer-base/src/main/java/com/fr/design/os/impl/RestartAction.java

2
designer-base/src/main/java/com/fr/design/os/impl/DemoAction.java

@ -27,7 +27,7 @@ public class DemoAction implements OSBasedAction {
} else if(OperatingSystem.isWindows()){
executorPath = StableUtils.pathJoin(installHome, "bin", "designer.exe demo");
}else{
executorPath = StableUtils.pathJoin(installHome, "bin", "designer.sh demo");
executorPath = StableUtils.pathJoin(installHome, "bin", "designer demo");
}
if (OperatingSystem.isMacos()) {

2
designer-base/src/main/java/com/fr/design/os/impl/RestartAction.java

@ -66,7 +66,7 @@ public class RestartAction implements OSBasedAction {
ProcessBuilder builder = new ProcessBuilder();
List<String> commands = new ArrayList<String>();
//现在先写的是restart.sh
commands.add(installHome + File.separator + "bin" + File.separator + "restart.sh");
commands.add(installHome + File.separator + "bin" + File.separator + "restart");
if (ArrayUtils.isNotEmpty(filesToBeDelete)) {
commands.add(StableUtils.join(filesToBeDelete, "+"));
}

Loading…
Cancel
Save