mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2025-04-21 07:50:19 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
0035307762 | |||
a1257bdbfb |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "star-rail-warp-export",
|
"name": "star-rail-warp-export",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"main": "./dist/electron/main/main.js",
|
"main": "./dist/electron/main/main.js",
|
||||||
"author": "biuuu <https://github.com/biuuu>",
|
"author": "biuuu <https://github.com/biuuu>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -90,7 +90,7 @@ const getLatestUrl = (list) => {
|
|||||||
const tsMch = list[i].match(/timestamp=(\d+)/)
|
const tsMch = list[i].match(/timestamp=(\d+)/)
|
||||||
if (tsMch?.[1]) {
|
if (tsMch?.[1]) {
|
||||||
const ts = parseInt(tsMch[1])
|
const ts = parseInt(tsMch[1])
|
||||||
if (time < parseInt(tsMch[1])) {
|
if (time <= parseInt(tsMch[1])) {
|
||||||
time = ts
|
time = ts
|
||||||
result = list[i]
|
result = list[i]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user