no message

This commit is contained in:
雪风 2025-04-08 21:04:58 +08:00
parent 4c0af5f318
commit 44f242651a
4 changed files with 8 additions and 12 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ MXD-Server.iml
配置文件/捉鬼任务.ini
配置文件/坐骑椅子.ini
src.zip
src/META-INF/MANIFEST.MF

View File

@ -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();
}
}

View File

@ -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();
}
});

View File

@ -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);