This commit is contained in:
HolographicHat
2022-05-19 22:04:23 +08:00
parent 98a03a0910
commit 1900937a50
6 changed files with 90 additions and 55 deletions

2
app.js
View File

@@ -1,6 +1,5 @@
const proxy = require("udp-proxy")
const cp = require("child_process")
const cloud = require("./secret")
const appcenter = require("./appcenter")
const regionServer = require("./regionServer")
const {
@@ -38,7 +37,6 @@ const onExit = () => {
}
appcenter.startup()
let conf = await initConfig()
cloud.init(conf)
checkPortIsUsing()
checkGameIsRunning()
log("检查更新")