Merge remote-tracking branch 'upstream/winget' into winget
This commit is contained in:
commit
0bda5c7a1c
2 changed files with 14 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue