mirror of
https://github.com/HolographicHat/Yae.git
synced 2026-05-20 20:55:46 +08:00
fix bug and bump version to 1.6
This commit is contained in:
@@ -38,7 +38,7 @@ const cleanUp = () => {
|
|||||||
const c = {
|
const c = {
|
||||||
finalName: `${name}-Win7`,
|
finalName: `${name}-Win7`,
|
||||||
nodeVersion: "14.19.1",
|
nodeVersion: "14.19.1",
|
||||||
sevenZipPath: "C:/Program Files/7-Zip/7z.exe"
|
sevenZipPath: "\"C:/Program Files/7-Zip/7z.exe\""
|
||||||
};
|
};
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
|
|||||||
7
utils.js
7
utils.js
@@ -48,7 +48,12 @@ const initConfig = async () => {
|
|||||||
path: [],
|
path: [],
|
||||||
oversea_api: false
|
oversea_api: false
|
||||||
}
|
}
|
||||||
const p = path.dirname(native.selectGameExecutable())
|
let p = ""
|
||||||
|
try {
|
||||||
|
p = path.dirname(native.selectGameExecutable())
|
||||||
|
} catch (e) {
|
||||||
|
process.exit(1)
|
||||||
|
}
|
||||||
await checkPath(p).catch(reason => {
|
await checkPath(p).catch(reason => {
|
||||||
console.log(reason)
|
console.log(reason)
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const version = {
|
const version = {
|
||||||
code: 6,
|
code: 7,
|
||||||
name: "1.5",
|
name: "1.6",
|
||||||
isDev: true
|
isDev: false
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = { version }
|
module.exports = { version }
|
||||||
|
|||||||
Reference in New Issue
Block a user