diff --git a/bucket/unrar.json b/bucket/unrar.json index 00b62658ff..3ad01dad06 100644 --- a/bucket/unrar.json +++ b/bucket/unrar.json @@ -6,11 +6,29 @@ "identifier": "Freeware", "url": "https://www.rarlab.com/license.htm" }, - "url": "https://www.rarlab.com/rar/unrarw32.exe#/dl.7z", - "hash": "6b82265b7185a48014561670853cabacafaf502f06da8b0539882974a1f7b803", + "architecture": { + "64bit": { + "url": "https://raw.githubusercontent.com/ScoopInstaller/Binary/master/unrar/6.24/UnRAR_x64.exe#/UnRAR.exe", + "hash": "90c2b2107a22ea8eb3593a155c4c0007b18b1ba552bf65f963c040038da248be" + }, + "32bit": { + "url": "https://raw.githubusercontent.com/ScoopInstaller/Binary/master/unrar/6.24/UnRAR.exe", + "hash": "c9e67b0474d3081827a73f1a7080b735d1d80d2d5f5c4aee508b335ed7e8a05a" + } + }, "bin": "UnRAR.exe", - "checkver": "RAR ([\\d.]+) [^ab]", + "checkver": "WinRAR and RAR ([\\d.]+) release", "autoupdate": { - "url": "https://www.rarlab.com/rar/unrarw32.exe#/dl.7z" + "architecture": { + "64bit": { + "url": "https://raw.githubusercontent.com/ScoopInstaller/Binary/master/unrar/$version/UnRAR_x64.exe#/UnRAR.exe" + }, + "32bit": { + "url": "https://raw.githubusercontent.com/ScoopInstaller/Binary/master/unrar/$version/UnRAR.exe" + } + }, + "hash": { + "url": "https://raw.githubusercontent.com/ScoopInstaller/Binary/master/checksums.sha256" + } } }