Skip to content

Commit

Permalink
Merge pull request #51 from wh7/patch-1
Browse files Browse the repository at this point in the history
goldendict-ng: Update checkver regex & autoupdate url
  • Loading branch information
hu3rror authored Oct 8, 2024
2 parents 1c2a829 + edf2ad8 commit 7dd8d2e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions bucket/goldendict-ng.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "24.05.05",
"version": "24.09.0-316ec900",
"description": "A feature-rich dictionary lookup program",
"homepage": "https://github.com/xiaoyifang/goldendict-ng",
"license": "GPL-3.0-only",
"url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/v24.05.05-LiXia.ecd1138c/6.7.0-GoldenDict-ng-Installer.exe##/dl.7z",
"hash": "4534a47f3d6fdb07fe656a469587f03e152d990a823ee85c6c5c191eb2c2ecbb",
"pre_install": "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\[LICENSE].txt\", \"$dir\\*.nsi\", \"$dir\\uninstall.exe\" -Recurse",
"url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/v24.09.0-Release.316ec900/GoldenDict-ng-24.09.0-Qt6.7.2.7z",
"hash": "1bda25c4e9ca91a3daec12372be034fc172706937934046c2174008abe1aae6a",
"extract_dir": "GoldenDict-ng-24.09.0-Qt6.7.2",
"bin": [
[
"GoldenDict.exe",
Expand All @@ -25,11 +25,12 @@
"checkver": {
"url": "https://api.github.com/repos/xiaoyifang/goldendict-ng/releases/latest",
"jsonpath": "$...browser_download_url",
"regex": "download/v([\\d.]+)(-[\\w.]+)?/([\\d.]+)-GoldenDict-ng-Installer\\.exe",
"regex": "download/v([\\d.]+)-Release\\.(\\w+)/GoldenDict-ng-[\\d.]+-Qt([\\d.]+)\\.7z",
"reverse": true,
"replace": "$1"
"replace": "$1-$2"
},
"autoupdate": {
"url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/v$match1$match2/$match3-GoldenDict-ng-Installer.exe##/dl.7z"
"url": "https://github.com/xiaoyifang/goldendict-ng/releases/download/v$match1-Release.$match2/GoldenDict-ng-$match1-Qt$match3.7z",
"extract_dir": "GoldenDict-ng-$match1-Qt$match3"
}
}

0 comments on commit 7dd8d2e

Please sign in to comment.