mirror of
https://github.com/HolographicHat/Yae.git
synced 2025-12-16 11:28:15 +08:00
bump version to 1.5
This commit is contained in:
6
app.js
6
app.js
@@ -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,() => {
|
||||
|
||||
2
utils.js
2
utils.js
@@ -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)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const version = {
|
||||
code: 5,
|
||||
name: "1.4"
|
||||
code: 6,
|
||||
name: "1.5"
|
||||
}
|
||||
|
||||
module.exports = { version }
|
||||
|
||||
Reference in New Issue
Block a user