diff --git a/bucket/goldendict-ng.json b/bucket/goldendict-ng.json index 66566ca..2732605 100644 --- a/bucket/goldendict-ng.json +++ b/bucket/goldendict-ng.json @@ -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", @@ -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" } }