More HWiNFO updates

This commit is contained in:
2Shirt 2018-03-08 19:09:22 -07:00
parent f37b1cdf44
commit ac1ee5f695
3 changed files with 3 additions and 9 deletions

View file

@ -141,7 +141,7 @@ if ($MyInvocation.InvocationName -ne ".") {
@("fastcopy64.zip", "http://ftp.vector.co.jp/69/93/2323/FastCopy341_x64.zip"),
@("fastcopy32.zip", "http://ftp.vector.co.jp/69/93/2323/FastCopy341.zip"),
# HWiNFO
@("hwinfo.zip", "ftp://ftp.sac.sk/sac/utildiag/hwi_572.zip"),
@("hwinfo.zip", "http://app.oldfoss.com:81/download/HWiNFO/hwi_574.zip"),
# Killer Network Drivers
@(
"killerinf.zip",

View file

@ -411,14 +411,8 @@ def update_hwinfo():
for exe in ['HWiNFO32.exe', 'HWiNFO64.exe']:
kill_process(exe)
# Get url
url = resolve_dynamic_url(
SOURCE_URLS['HWiNFO'],
'.*download.fosshub.*HWiNFO/hwi.*zip')
url = re.sub(r'.*src="([^"]+)".*', r'\1', url)
# Download
download_to_temp('HWiNFO.zip', url)
download_to_temp('HWiNFO.zip', SOURCE_URLS['HWiNFO'])
# Extract files
extract_temp_to_bin('HWiNFO.zip', 'HWiNFO')

View file

@ -17,7 +17,7 @@ SOURCE_URLS = {
'FastCopy32': 'http://ftp.vector.co.jp/69/93/2323/FastCopy341.zip',
'FastCopy64': 'http://ftp.vector.co.jp/69/93/2323/FastCopy341_x64.zip',
'Firefox uBO': 'https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-1.15.10-an+fx.xpi?filehash=sha256%3A30b258803fd6cd988c5ba479f2f6ff5b4e9b40110c81e3421a6867b20ec718a6',
'HWiNFO': 'https://www.fosshub.com/HWiNFO.html/hwi_572.zip',
'HWiNFO': 'http://app.oldfoss.com:81/download/HWiNFO/hwi_574.zip',
'HitmanPro32': 'https://dl.surfright.nl/HitmanPro.exe',
'HitmanPro64': 'https://dl.surfright.nl/HitmanPro_x64.exe',
'IOBit_Uninstaller': 'https://portableapps.com/redirect/?a=IObitUninstallerPortable&t=http%3A%2F%2Fdownloads.portableapps.com%2Fportableapps%2Fiobituninstallerportable%2FIObitUninstallerPortable_7.3.0.13.paf.exe',