no message
This commit is contained in:
parent
4c0af5f318
commit
44f242651a
|
|
@ -6,3 +6,4 @@ MXD-Server.iml
|
|||
配置文件/捉鬼任务.ini
|
||||
配置文件/坐骑椅子.ini
|
||||
src.zip
|
||||
src/META-INF/MANIFEST.MF
|
||||
|
|
|
|||
|
|
@ -496,12 +496,12 @@ public class Start {
|
|||
|
||||
|
||||
|
||||
HttpUtil.createServer(8888)
|
||||
.addAction("/", (req, res)->{
|
||||
new Thread((Runnable) ShutdownServer.getInstance()).start();
|
||||
res.write("1");
|
||||
})
|
||||
.start();
|
||||
// HttpUtil.createServer(8888)
|
||||
// .addAction("/", (req, res)->{
|
||||
// new Thread((Runnable) ShutdownServer.getInstance()).start();
|
||||
// res.write("1");
|
||||
// })
|
||||
// .start();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -880,11 +880,6 @@ public class ppms extends JFrame {
|
|||
public void run() {
|
||||
new ppms().setVisible(true);
|
||||
System.out.println("[正在启动贪玩冒险岛服务端]");
|
||||
new Thread(new Runnable() {
|
||||
public void run() {
|
||||
Start.startServer(null);
|
||||
}
|
||||
}).start();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ public class ShutdownServer implements Runnable, ShutdownServerMBean {
|
|||
System.out.println("[" + FileoutputUtil.CurrentReadable_Time() + "][========================================]");
|
||||
|
||||
String property = System.getProperty("user.dir");
|
||||
String batFilePath = property+"\\启动.bat";
|
||||
String batFilePath = property+"\\A079.exe";
|
||||
Process process = null;
|
||||
try {
|
||||
process = Runtime.getRuntime().exec("cmd /c start " + batFilePath);
|
||||
|
|
|
|||
Loading…
Reference in New Issue