From 64f22fbe30e7d75cbe630fbe3ad3d39502219ec6 Mon Sep 17 00:00:00 2001 From: 2Shirt <1923621+2Shirt@users.noreply.github.com> Date: Wed, 21 Feb 2018 14:02:11 -0700 Subject: [PATCH] Updated update.py Support new HWiNFO archives --- .bin/Scripts/functions/update.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.bin/Scripts/functions/update.py b/.bin/Scripts/functions/update.py index 86048065..6825f9ba 100644 --- a/.bin/Scripts/functions/update.py +++ b/.bin/Scripts/functions/update.py @@ -412,16 +412,13 @@ def update_hwinfo(): kill_process(exe) # Download - download_to_temp('HWiNFO32.zip', SOURCE_URLS['HWiNFO32']) - download_to_temp('HWiNFO64.zip', SOURCE_URLS['HWiNFO64']) + download_to_temp('HWiNFO.zip', SOURCE_URLS['HWiNFO']) # Extract files - extract_temp_to_bin('HWiNFO32.zip', 'HWiNFO') - extract_temp_to_bin('HWiNFO64.zip', 'HWiNFO') + extract_temp_to_bin('HWiNFO.zip', 'HWiNFO') # Cleanup - remove_from_temp('HWiNFO32.zip') - remove_from_temp('HWiNFO64.zip') + remove_from_temp('HWiNFO.zip') def update_produkey(): # Stop running processes