Add CoreTemp and stress tests launcher

This commit is contained in:
2Shirt 2022-10-01 19:49:22 -07:00
parent 3dbb5431dc
commit b91030fde4
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
4 changed files with 47 additions and 5 deletions

14
scripts/launch_stress_tests.py Executable file
View file

@ -0,0 +1,14 @@
"""WizardKit: Launch Stress Tests Tool"""
# vim: sts=2 sw=2 ts=2
import os
import sys
os.chdir(os.path.dirname(os.path.realpath(__file__)))
sys.path.append(os.getcwd())
import wk # pylint: disable=wrong-import-position
wk.kit.tools.run_tool('CoreTemp', 'CoreTemp', popen=True)
wk.kit.tools.run_tool('FurMark', 'FurMark', popen=True)
wk.kit.tools.run_tool('Prime95', 'prime95', popen=True)
wk.kit.tools.run_tool('RUST', 'RUST', popen=True)

View file

@ -265,6 +265,12 @@ LAUNCHERS = {
'L_ITEM': 'OOSU10.exe',
'L_ARGS': '1201.cfg',
},
'Stress Tests': {
'L_TYPE': 'PyScript',
'L_PATH': 'Scripts',
'L_ITEM': 'launch_stress_tests.py',
'L_ELEV': 'True',
},
'UninstallView': {
'L_TYPE': 'Executable',
'L_PATH': 'UninstallView',

View file

@ -15,6 +15,8 @@ SOURCES = {
'AdwCleaner': 'https://adwcleaner.malwarebytes.com/adwcleaner?channel=release',
'Autologon32': 'http://live.sysinternals.com/Autologon.exe',
'Autologon64': 'http://live.sysinternals.com/Autologon64.exe',
'CoreTemp32': 'https://www.alcpu.com/CoreTemp/CoreTemp32.zip',
'CoreTemp64': 'https://www.alcpu.com/CoreTemp/CoreTemp64.zip',
'ESET_NOD32_AV32': 'https://download.eset.com/com/eset/apps/home/eav/windows/latest/eav_nt32.exe',
'ESET_NOD32_AV64': 'https://download.eset.com/com/eset/apps/home/eav/windows/latest/eav_nt64.exe',
'EmsisoftCmd32': 'https://dl.emsisoft.com/EmsisoftCommandlineScanner32.exe',

View file

@ -169,6 +169,25 @@ def download_bluescreenview():
delete_from_temp('bluescreenview64.zip')
def download_coretemp():
"""Download Core Temp."""
archive_32 = download_to_temp('coretemp32.zip', SOURCES['CoreTemp32'])
archive_64 = download_to_temp('coretemp64.zip', SOURCES['CoreTemp64'])
out_path = BIN_DIR.joinpath('CoreTemp')
extract_archive(archive_32, out_path, 'Core Temp.exe')
rename_item(
out_path.joinpath('Core Temp.exe'),
out_path.joinpath('CoreTemp.exe'),
)
extract_archive(archive_64, out_path, 'Core Temp.exe')
rename_item(
out_path.joinpath('Core Temp.exe'),
out_path.joinpath('CoreTemp64.exe'),
)
delete_from_temp('coretemp32.zip')
delete_from_temp('coretemp64.zip')
def download_erunt():
"""Download ERUNT."""
archive = download_to_temp('erunt.zip', SOURCES['ERUNT'])
@ -512,11 +531,12 @@ def build_kit():
try_print.add_error(error)
# Download
try_print.run('Adobe Reader...', download_adobe_reader)
try_print.run('AIDA64...', download_aida64)
try_print.run('Adobe Reader...', download_adobe_reader)
try_print.run('Autoruns...', download_autoruns)
try_print.run('BleachBit...', download_bleachbit)
try_print.run('BlueScreenView...', download_bluescreenview)
try_print.run('CoreTemp...', download_coretemp)
try_print.run('ERUNT...', download_erunt)
try_print.run('Everything...', download_everything)
try_print.run('FastCopy...', download_fastcopy)
@ -531,13 +551,13 @@ def build_kit():
try_print.run('OpenShell...', download_openshell)
try_print.run('Prime95...', download_prime95)
try_print.run('PuTTY...', download_putty)
try_print.run('Snappy Driver Installer...', download_snappy_driver_installer_origin)
try_print.run('Windows Repair AIO...', download_windows_repair_aio)
try_print.run('WinSCP...', download_winscp)
try_print.run('UninstallView...', download_uninstallview)
try_print.run('WinSCP...', download_winscp)
try_print.run('Windows Repair AIO...', download_windows_repair_aio)
try_print.run('WizTree...', download_wiztree)
try_print.run('XMPlay...', download_xmplay)
try_print.run('XMPlay Music...', download_xmplay_music)
try_print.run('XMPlay...', download_xmplay)
try_print.run('Snappy Driver Installer...', download_snappy_driver_installer_origin)
# Pause
print('', flush=True)