This commit is contained in:
临渊 2022-06-28 19:22:12 +08:00 committed by GitHub
parent d10843251e
commit 1fa8867e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dt.js
View File

@ -405,7 +405,7 @@ function getVersion(timeout = 3 * 1000) {
}
$.get(url, async (err, resp, data) => {
try {
scriptVersionLatest = resp.body.match(/version = "([\d\.]+)"/)[1]
scriptVersionLatest = resp.body.match(/scriptVersion = "([\d\.]+)"/)[1]
} catch (e) {
$.logErr(e, resp);
} finally {