Move setup functions to the right section
This commit is contained in:
parent
1168e8b0dd
commit
dcd41b5084
1 changed files with 16 additions and 16 deletions
|
|
@ -543,27 +543,11 @@ def auto_set_custom_power_plan():
|
|||
TRY_PRINT.run('Set Custom Power Plan...', create_custom_power_plan)
|
||||
|
||||
|
||||
def auto_disable_fast_startup():
|
||||
"""Disable fast startup (i.e. Hiberboot)."""
|
||||
TRY_PRINT.run(
|
||||
'Disable Fast Startup...', reg_set_value, 'HKLM',
|
||||
r'SOFTWARE\Policies\Microsoft\Windows\System',
|
||||
'HiberbootEnabled', 0, 'DWORD',
|
||||
)
|
||||
|
||||
|
||||
def auto_enable_bsod_minidumps():
|
||||
"""Enable saving minidumps during BSoDs."""
|
||||
TRY_PRINT.run('Enable BSoD mini dumps...', enable_bsod_minidumps)
|
||||
|
||||
|
||||
def auto_enable_hibernation():
|
||||
"""Enable Hibernation."""
|
||||
TRY_PRINT.run(
|
||||
'Enable Hibernation...', run_program, ['powercfg', '/hibernate', 'on'],
|
||||
)
|
||||
|
||||
|
||||
def auto_enable_regback():
|
||||
"""Enable RegBack."""
|
||||
TRY_PRINT.run(
|
||||
|
|
@ -630,6 +614,22 @@ def auto_config_open_shell():
|
|||
TRY_PRINT.run('Open Shell...', reg_write_settings, REG_OPEN_SHELL_SETTINGS)
|
||||
|
||||
|
||||
def auto_disable_fast_startup():
|
||||
"""Disable fast startup (i.e. Hiberboot)."""
|
||||
TRY_PRINT.run(
|
||||
'Disable Fast Startup...', reg_set_value, 'HKLM',
|
||||
r'SOFTWARE\Policies\Microsoft\Windows\System',
|
||||
'HiberbootEnabled', 0, 'DWORD',
|
||||
)
|
||||
|
||||
|
||||
def auto_enable_hibernation():
|
||||
"""Enable Hibernation."""
|
||||
TRY_PRINT.run(
|
||||
'Enable Hibernation...', run_program, ['powercfg', '/hibernate', 'on'],
|
||||
)
|
||||
|
||||
|
||||
def auto_export_aida64_report():
|
||||
"""Export AIDA64 reports."""
|
||||
TRY_PRINT.run('AIDA64 Report...', export_aida64_report)
|
||||
|
|
|
|||
Loading…
Reference in a new issue