Add Snappy Driver Installer Origin sections

This commit is contained in:
2Shirt 2021-10-02 18:25:35 -06:00
parent 87bc6220f5
commit fda31a262b
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 11 additions and 1 deletions

View file

@ -150,7 +150,7 @@ BASE_MENUS = {
'Run Programs': (
MenuEntry('Device Manager', 'auto_open_device_manager'),
MenuEntry('HWiNFO Sensors', 'auto_open_hwinfo_sensors'),
#MenuEntry('Snappy Driver Installer', no_op),
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

@ -688,6 +688,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():
@ -1160,6 +1165,11 @@ def open_hwinfo_sensors():
run_tool('HWiNFO', 'HWiNFO', popen=True)
def open_snappy_driver_installer_origin():
"""Open Snappy Driver Installer Origin."""
run_tool('_Drivers/SDIO', 'SDIO', cwd=True, pipe=True, popen=True)
def open_windows_activation():
"""Open Windows Activation."""
popen_program(['slui'])