diff --git a/scripts/auto_setup.py b/scripts/auto_setup.py index caf2f6da..31ea555a 100644 --- a/scripts/auto_setup.py +++ b/scripts/auto_setup.py @@ -150,6 +150,7 @@ BASE_MENUS = { MenuEntry('Device Manager', 'auto_open_device_manager'), MenuEntry('HWiNFO Sensors', 'auto_open_hwinfo_sensors'), MenuEntry('Snappy Driver Installer', 'auto_open_snappy_driver_installer_origin'), + MenuEntry('Webcam Tests', 'auto_open_webcam_tests'), MenuEntry('Windows Activation', 'auto_open_windows_activation'), MenuEntry('Windows Updates', 'auto_open_windows_updates'), MenuEntry('XMPlay', 'auto_open_xmplay'), diff --git a/scripts/wk/setup/win.py b/scripts/wk/setup/win.py index e023852e..d61e7cd6 100644 --- a/scripts/wk/setup/win.py +++ b/scripts/wk/setup/win.py @@ -9,6 +9,7 @@ import json import os import re import sys +import webbrowser from wk.cfg.main import KIT_NAME_FULL from wk.cfg.setup import ( @@ -547,6 +548,11 @@ def auto_open_snappy_driver_installer_origin(): TRY_PRINT.run('Snappy Driver Installer...', open_snappy_driver_installer_origin) +def auto_open_webcam_tests(): + """Open Webcam Tests.""" + TRY_PRINT.run('Webcam Tests...', open_webcam_tests) + + def auto_open_windows_activation(): """Open Windows Activation.""" if not is_activated(): @@ -1029,6 +1035,11 @@ def open_snappy_driver_installer_origin(): run_tool('SDIO', 'SDIO', cwd=True, pipe=True, popen=True) +def open_webcam_tests(): + """Open Webcam Tests.""" + webbrowser.open('http://webcamtests.com/') + + def open_windows_activation(): """Open Windows Activation.""" popen_program(['slui'])