parent
9ec0a249dd
commit
f6fa922bb3
2 changed files with 13 additions and 11 deletions
|
|
@ -80,7 +80,7 @@ BASE_MENUS = {
|
|||
MenuEntry('HWiNFO Sensors', 'auto_open_hwinfo_sensors'),
|
||||
MenuEntry('Microsoft Store Updates', 'auto_open_microsoft_store_updates'),
|
||||
MenuEntry('Snappy Driver Installer', 'auto_open_snappy_driver_installer_origin'),
|
||||
MenuEntry('Webcam Tests', 'auto_open_webcam_tests'),
|
||||
MenuEntry('Webcam Tests', 'auto_open_mic_and_webcam_tests'),
|
||||
MenuEntry('Windows Activation', 'auto_open_windows_activation'),
|
||||
MenuEntry('Windows Updates', 'auto_open_windows_updates'),
|
||||
MenuEntry('XMPlay', 'auto_open_xmplay'),
|
||||
|
|
|
|||
|
|
@ -602,6 +602,11 @@ def auto_open_hwinfo_sensors() -> None:
|
|||
TRY_PRINT.run('HWiNFO Sensors...', open_hwinfo_sensors)
|
||||
|
||||
|
||||
def auto_open_mic_and_webcam_tests():
|
||||
"""Open Webcam Tests."""
|
||||
TRY_PRINT.run('Webcam Tests...', open_mic_and_webcam_tests)
|
||||
|
||||
|
||||
def auto_open_microsoft_store_updates() -> None:
|
||||
"""Opem Microsoft Store Updates."""
|
||||
TRY_PRINT.run('Microsoft Store Updates...', open_microsoft_store_updates)
|
||||
|
|
@ -612,11 +617,6 @@ def auto_open_snappy_driver_installer_origin() -> None:
|
|||
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() -> None:
|
||||
"""Open Windows Activation."""
|
||||
if not is_activated():
|
||||
|
|
@ -1084,6 +1084,13 @@ def open_hwinfo_sensors() -> None:
|
|||
run_tool('HWiNFO', 'HWiNFO', popen=True)
|
||||
|
||||
|
||||
def open_mic_and_webcam_tests():
|
||||
"""Open Webcam Tests."""
|
||||
webbrowser.open('https://mictests.com/')
|
||||
sleep(1)
|
||||
webbrowser.open('http://webcamtests.com/')
|
||||
|
||||
|
||||
def open_microsoft_store_updates() -> None:
|
||||
"""Open Microsoft Store to the updates page."""
|
||||
popen_program(['explorer', 'ms-windows-store:updates'])
|
||||
|
|
@ -1094,11 +1101,6 @@ def open_snappy_driver_installer_origin() -> None:
|
|||
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() -> None:
|
||||
"""Open Windows Activation."""
|
||||
popen_program(['slui'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue