diff --git a/bucket/foxit-reader.json b/bucket/foxit-reader.json index 63a9b24696282f..a7af1e4e832a7e 100644 --- a/bucket/foxit-reader.json +++ b/bucket/foxit-reader.json @@ -1,14 +1,13 @@ { "version": "9.6.0.25144", "homepage": "https://www.foxitsoftware.com/", - "description": "A multilingual PDF tool that can create, view, edit, digitally sign, and print PDF files.", + "description": "Super-fast, feature rich PDF reader that offers a delightful reading experience in a small footprint.", "license": { "identifier": "Freeware", "url": "https://www.foxitsoftware.com/pdf-reader/eula.html" }, - "url": "https://cdn01.foxitsoftware.com/product/reader/desktop/win/9.6/C12EAFE19502901F41BEBBAEB12BA308/FoxitReader96_enu_Setup_Prom.exe", - "hash": "md5:c12eafe19502901f41bebbaeb12ba308", - "innosetup": true, + "url": "https://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/win/9.x/9.6/en_us/FoxitReader96_Setup_Prom_IS.exe#/dl.7z", + "hash": "432dcea5ac97ac9198b042d7ec463dcf9cfd28541e5ebc4ce4672f4163498162", "bin": "FoxitReader.exe", "shortcuts": [ [ @@ -16,15 +15,17 @@ "Foxit Reader" ] ], + "installer": { + "script": [ + "Get-ChildItem \"$dir\" '*_Prom.exe' | Select-Object -ExpandProperty Fullname | Expand-InnoArchive -DestinationPath \"$dir\"", + "Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse" + ] + }, "checkver": { "url": "https://www.foxitsoftware.com/downloads/downloadForm.php?retJson=1&product=Foxit-Reader&platform=Windows&language=English", - "regex": "\"version\":\\[\"([\\d.]+)\".+win\\\\\\/[\\d.]+\\\\\\/(?[A-F\\d]{32})" + "jsonpath": "$.package_info.version[0]" }, "autoupdate": { - "url": "https://cdn01.foxitsoftware.com/product/reader/desktop/win/$majorVersion.$minorVersion/$matchHash/FoxitReader$majorVersion$minorVersion_enu_Setup_Prom.exe", - "hash": { - "url": "https://www.foxitsoftware.com/downloads/downloadForm.php?retJson=1&product=Foxit-Reader&platform=Windows&language=English", - "regex": "$md5" - } + "url": "https://cdn01.foxitsoftware.com/pub/foxit/reader/desktop/win/$majorVersion.x/$majorVersion.$minorVersion/en_us/FoxitReader$majorVersion$minorVersion_Setup_Prom_IS.exe#/dl.7z" } }