diff --git a/scripts/auto_setup.py b/scripts/auto_setup.py index f06a7897..f6d4a0df 100644 --- a/scripts/auto_setup.py +++ b/scripts/auto_setup.py @@ -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'), diff --git a/scripts/wk/cfg/launchers.py b/scripts/wk/cfg/launchers.py index 4a33e939..e279cf5c 100644 --- a/scripts/wk/cfg/launchers.py +++ b/scripts/wk/cfg/launchers.py @@ -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', diff --git a/scripts/wk/setup/win.py b/scripts/wk/setup/win.py index 2fb76dd7..d51e4cf5 100644 --- a/scripts/wk/setup/win.py +++ b/scripts/wk/setup/win.py @@ -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'])