bump version to 1.5

This commit is contained in:
HolographicHat
2022-04-09 00:19:15 +08:00
parent b1f307de83
commit 9850d1dbe4
3 changed files with 4 additions and 8 deletions

6
app.js
View File

@@ -3,7 +3,7 @@ const cp = require("child_process")
const rs = require("./regionServer")
const appcenter = require("./appcenter")
const {
initConfig, splitPacket, upload, decodeProto, log, setupHost, KPacket, debug, checkCDN, checkUpdate,
initConfig, splitPacket, upload, decodeProto, log, setupHost, KPacket, debug, checkUpdate,
brotliCompressSync, brotliDecompressSync, checkGameIsRunning, checkPortIsUsing
} = require("./utils")
const { exportData } = require("./export")
@@ -41,10 +41,6 @@ const onExit = () => {
checkGameIsRunning()
log("检查更新")
await checkUpdate()
checkCDN().then(_ => debug("CDN check success.")).catch(reason => {
console.log(reason)
process.exit(113)
})
let gameProcess
let unexpectedExit = true
rs.create(conf,() => {

View File

@@ -175,7 +175,7 @@ const loadCache = async (fp = "latest-data") => {
}
}
const isDebug = true
const isDebug = false
const debug = (msg, ...params) => {
if (isDebug) log(msg, ...params)

View File

@@ -1,6 +1,6 @@
const version = {
code: 5,
name: "1.4"
code: 6,
name: "1.5"
}
module.exports = { version }