parent
487bfba2e5
commit
0cadf54b4d
2 changed files with 12 additions and 0 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -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'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue