mirror of
https://github.com/LinYuanovo/scripts.git
synced 2024-09-18 04:24:54 +08:00
读特
This commit is contained in:
parent
d10843251e
commit
1fa8867e69
2
dt.js
2
dt.js
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user