smartmontools: use 7z extract and update sha256 hash (#3103)

* smartmontools: use 7z extract

Fixes https://github.com/ScoopInstaller/Extras/issues/7532

* Update smartmontools.json
This commit is contained in:
Phani Rithvij 2021-12-17 13:09:51 +05:30 committed by GitHub
parent c865724848
commit 50dc1f0840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,14 +3,8 @@
"description": "Read SMART data from disks", "description": "Read SMART data from disks",
"homepage": "https://www.smartmontools.org", "homepage": "https://www.smartmontools.org",
"license": "GPL-2.0-only", "license": "GPL-2.0-only",
"url": "https://downloads.sourceforge.net/project/smartmontools/smartmontools/7.2/smartmontools-7.2-1.win32-setup.exe", "url": "https://downloads.sourceforge.net/project/smartmontools/smartmontools/7.2/smartmontools-7.2-1.win32-setup.exe#/dl.7z",
"hash": "sha1:fdf3660a6ac415ab2acb0094ac16ee5902e79f84", "hash": "83a577757bac76d48c3999b097bac4cd94e7ed3cb3456560aa511c5ac28fb859",
"installer": {
"args": [
"/S",
"/D=$dir"
]
},
"bin": [ "bin": [
"bin\\runcmdu.exe", "bin\\runcmdu.exe",
"bin\\smartctl.exe", "bin\\smartctl.exe",
@ -25,6 +19,6 @@
"regex": "smartmontools-([\\d.-]+)\\.win32" "regex": "smartmontools-([\\d.-]+)\\.win32"
}, },
"autoupdate": { "autoupdate": {
"url": "https://downloads.sourceforge.net/project/smartmontools/smartmontools/$matchHead/smartmontools-$version.win32-setup.exe" "url": "https://downloads.sourceforge.net/project/smartmontools/smartmontools/$matchHead/smartmontools-$version.win32-setup.exe#/dl.7z"
} }
} }