修复在v4加载下错误提示未找到e.runtime

This commit is contained in:
曉K 2024-06-18 09:58:48 +08:00 committed by GitHub
parent 3c85283789
commit 310c97a5c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,7 @@ const { changelogs, currentVersion } = readLogFile('miao')
const yunzaiVersion = packageJson.version const yunzaiVersion = packageJson.version
const isV3 = yunzaiVersion[0] === '3' const isV3 = yunzaiVersion[0] === '3' || yunzaiVersion[0] === '4'
let isMiao = false let isMiao = false
let name = 'Yunzai-Bot' let name = 'Yunzai-Bot'
let isAlemonjs = false let isAlemonjs = false