Skip to content

Commit

Permalink
feat: move options to tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Oct 21, 2023
1 parent 04cc6c2 commit ac5298d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Restore Default Sleep Timeout
description: If the power saving option is disabled, this restores the default automatic sleep timeout
privilege: TrustedInstaller
option: '!disable-power-saving'
actions:
- !run: {exe: 'powercfg.exe', args: '/setacvalueindex scheme_current sub_sleep standbyidle 900', option: '!disable-power-saving'}
- !run: {exe: 'powercfg.exe', args: '/setdcvalueindex scheme_current sub_sleep standbyidle 600', option: '!disable-power-saving'}
- !run: {exe: 'powercfg.exe', args: '/setacvalueindex scheme_current sub_sleep standbyidle 900'}
- !run: {exe: 'powercfg.exe', args: '/setdcvalueindex scheme_current sub_sleep standbyidle 600'}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
title: Disable Core Isolation
description: Disables Core Isolation (VBS) based on the user's options
privilege: TrustedInstaller
option: 'vbs-disable'
actions:
- !run:
exe: 'powershell.exe'
args: '-NoP -File "$env:windir\AtlasDesktop\7. Security\Core Isolation (VBS)\Current Configuration.ps1" -DisableAllVBS'
exeDir: true
wait: true
option: 'vbs-disable'
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ actions:
exe: 'FILEASSOC.cmd'
exeDir: true
wait: true
option: '!uninstall-edge'
- !run:
exe: 'FILEASSOC.cmd'
args: '"Brave"'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: Disable Mitigations
description: Disables mitigations in Windows dependant on the user's options
privilege: TrustedInstaller
option: 'mitigations-disable'
actions:
- !run:
exe: 'Disable All Mitigations.cmd'
path: '%windir%\AtlasDesktop\7. Security\Mitigations'
args: '/silent'
wait: true
option: 'mitigations-disable'

0 comments on commit ac5298d

Please sign in to comment.