Open Snappy Driver Instller Origin in AutoSetup

Address issue #202
This commit is contained in:
2Shirt 2022-10-22 18:49:58 -07:00
parent 31de1a20d9
commit a324e71ba9
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
3 changed files with 11 additions and 5 deletions

View file

@ -67,6 +67,7 @@ BASE_MENUS = {
'Run Programs': (
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('Windows Activation', 'auto_open_windows_activation'),
MenuEntry('Windows Updates', 'auto_open_windows_updates'),
MenuEntry('XMPlay', 'auto_open_xmplay'),

View file

@ -252,11 +252,6 @@ LAUNCHERS = {
'L_PATH': 'PuTTY',
'L_ITEM': 'PUTTY.EXE',
},
'Snappy Driver Installer Origin': {
'L_TYPE': 'Executable',
'L_PATH': 'SDIO',
'L_ITEM': 'SDIO.exe',
},
'UninstallView': {
'L_TYPE': 'Executable',
'L_PATH': 'UninstallView',

View file

@ -479,6 +479,11 @@ def auto_open_hwinfo_sensors():
TRY_PRINT.run('HWiNFO Sensors...', open_hwinfo_sensors)
def auto_open_snappy_driver_installer_origin():
"""Open Snappy Driver Installer Origin."""
TRY_PRINT.run('Snappy Driver Installer...', open_snappy_driver_installer_origin)
def auto_open_windows_activation():
"""Open Windows Activation."""
if not is_activated():
@ -957,6 +962,11 @@ def open_hwinfo_sensors():
run_tool('HWiNFO', 'HWiNFO', popen=True)
def open_snappy_driver_installer_origin():
"""Open Snappy Driver Installer Origin."""
run_tool('SDIO', 'SDIO', cwd=True, pipe=True, popen=True)
def open_windows_activation():
"""Open Windows Activation."""
popen_program(['slui'])