diff --git a/scripts/auto_setup.py b/scripts/auto_setup.py index 1df141b6..855e558a 100644 --- a/scripts/auto_setup.py +++ b/scripts/auto_setup.py @@ -76,6 +76,7 @@ BASE_MENUS = { 'Run Programs': ( MenuEntry('Device Manager', 'auto_open_device_manager'), 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('Windows Activation', 'auto_open_windows_activation'), @@ -106,6 +107,9 @@ PRESETS = { 'Install Software': ( 'Firefox', # Needed to handle profile upgrade nonsense ), + 'Run Programs': ( + 'Microsoft Store Updates', + ), 'System Summary': ( 'Operating System', 'Windows Activation', diff --git a/scripts/wk/setup/win.py b/scripts/wk/setup/win.py index c25d426c..89f4eb35 100644 --- a/scripts/wk/setup/win.py +++ b/scripts/wk/setup/win.py @@ -571,6 +571,11 @@ def auto_open_hwinfo_sensors() -> None: TRY_PRINT.run('HWiNFO Sensors...', open_hwinfo_sensors) +def auto_open_microsoft_store_updates() -> None: + """Opem Microsoft Store Updates.""" + TRY_PRINT.run('Microsoft Store Updates...', open_microsoft_store_updates) + + def auto_open_snappy_driver_installer_origin() -> None: """Open Snappy Driver Installer Origin.""" TRY_PRINT.run('Snappy Driver Installer...', open_snappy_driver_installer_origin) @@ -1042,6 +1047,11 @@ def open_hwinfo_sensors() -> None: run_tool('HWiNFO', 'HWiNFO', popen=True) +def open_microsoft_store_updates() -> None: + """Open Microsoft Store to the updates page.""" + popen_program(['explorer', 'ms-windows-store:updates']) + + def open_snappy_driver_installer_origin() -> None: """Open Snappy Driver Installer Origin.""" run_tool('SDIO', 'SDIO', cwd=True, pipe=True, popen=True)