Skip to content

Commit

Permalink
fix check version
Browse files Browse the repository at this point in the history
  • Loading branch information
Youxikong committed Mar 2, 2024
1 parent 43566c1 commit 0a0ebea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bucket/mpv/simplehistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"checkver": {
"github": "https://github.com/Eisa01/mpv-scripts",
"regex": "(\\d-)+"
"regex": "/releases/tag/([\\d-]+)"
},
"autoupdate": {
"url": "https://github.com/Eisa01/mpv-scripts/archive/refs/tags/$version.zip",
Expand Down
5 changes: 4 additions & 1 deletion bucket/mpv/smartcopypaste.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"Remove-Item -Path $Target\\scripts\\SmartCopyPaste.lua"
]
},
"checkver": "github",
"checkver": {
"github": "https://github.com/Eisa01/mpv-scripts",
"regex": "/releases/tag/([\\d-]+)"
},
"autoupdate": {
"url": "https://github.com/Eisa01/mpv-scripts/archive/refs/tags/$version.zip",
"extract_dir":[
Expand Down

0 comments on commit 0a0ebea

Please sign in to comment.