提交 705c0f15 编写于 作者: O o2sword

增加restart命令2

上级 320a6fc8
...@@ -430,7 +430,7 @@ public class Main { ...@@ -430,7 +430,7 @@ public class Main {
stopAll(); stopAll();
stopAllThreads(); stopAllThreads();
String osName = System.getProperty("os.name"); String osName = System.getProperty("os.name");
System.out.println("当前操作系统是:"+osName); //System.out.println("当前操作系统是:"+osName);
File file = new File(Config.base(), "start_linux.sh"); File file = new File(Config.base(), "start_linux.sh");
if (osName.toLowerCase().startsWith("mac")){ if (osName.toLowerCase().startsWith("mac")){
file = new File(Config.base(), "start_macos.sh"); file = new File(Config.base(), "start_macos.sh");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册