Skip to content

Commit e7019e4

Browse files
committed
ffstudio: Fix checkver & autoupdate
* Correct the checkver regex and the autoupdate URL where the version number was hardcoded. * Relates to #17563.
1 parent f398ff2 commit e7019e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bucket/ffstudio.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"checkver": {
2020
"github": "https://api.github.com/repos/Draver93/ff-studio/releases/latest",
2121
"jsonpath": "$..assets[?(@.browser_download_url =~ /FFStudio_.*\\.msi/i)].browser_download_url",
22-
"regex": "download/v(?<version>[\\d.]+)/FFStudio_0.2.7_x64_en-US-(?<commit>[a-f0-9]+)\\.msi"
22+
"regex": "FFStudio_(?<version>[\\d.]+)_x64_en-US-(?<commit>[a-f0-9]+)\\.msi"
2323
},
2424
"autoupdate": {
2525
"architecture": {
2626
"64bit": {
27-
"url": "https://github.com/Draver93/ff-studio/releases/download/v$version/FFStudio_0.2.7_x64_en-US-$matchCommit.msi"
27+
"url": "https://github.com/Draver93/ff-studio/releases/download/v$version/FFStudio_$version_x64_en-US-$matchCommit.msi"
2828
}
2929
}
3030
}

0 commit comments

Comments
 (0)