Skip to content

Commit

Permalink
feat: refactor Playbook options
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jun 1, 2024
1 parent d2db4a9 commit 0540243
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,3 @@ actions:
command: '"AtlasDesktop\3. General Configuration\Notifications\Enable Notifications.cmd" /silent'
exeDir: true
wait: true
option: '!disable-notifications'
- !cmd:
command: '"AtlasDesktop\3. General Configuration\Notifications\Enable Notifications.cmd" /justuserservice'
exeDir: true
wait: true
option: 'disable-notifications'
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ actions:
command: 'reg import "AtlasDesktop\3. General Configuration\Windows Update\Automatic Updates\Disable Automatic Updates (default).reg"'
exeDir: true
wait: true
option: 'disable-auto-updates'
option: 'auto-updates-disable'

# Prevent DevHome & Outlook from re-installing
- !registryKey: {path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator\UScheduler\DevHomeUpdate'}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Disable Core Isolation
description: Disables Core Isolation (VBS) based on the user's options
option: 'vbs-disable'
option: 'disable-core-isolation'
actions:
- !powerShell:
command: '& """.\AtlasModules\Scripts\ScriptWrappers\ConfigVBS.ps1""" -DisableAllVBS'
Expand Down
46 changes: 14 additions & 32 deletions src/playbook/playbook.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Atlas makes your computer snappier and more private with lots of usability impro
</Options>
<BottomLine Text="Learn more" Link="https://docs.atlasos.net/getting-started/post-installation/atlas-folder/security/#defender"/>
</RadioPage>
<RadioPage IsRequired="true" DefaultOption="mitigations-default" Description="Disabling mitigations reduces security, and only improves performance on older CPUs.">
<TopLine Text="Disabling could hurt performance on modern CPUs."/>
<RadioPage IsRequired="true" DefaultOption="mitigations-default" Description="Disabling mitigations reduces security, and could harm performance on modern CPUs.">
<TopLine Text="Disabling could improve performance on older CPUs."/>
<Options>
<RadioOption>
<Text>Default Windows Mitigations (recommended)</Text>
Expand All @@ -60,59 +60,41 @@ Atlas makes your computer snappier and more private with lots of usability impro
</Options>
<BottomLine Text="Learn more" Link="https://docs.atlasos.net/getting-started/post-installation/atlas-folder/security/#mitigations"/>
</RadioPage>
<RadioPage IsRequired="true" DefaultOption="vbs-disable" Description="Enabling core isolation protects important parts of Windows, but at the cost of performance.">
<RadioPage IsRequired="true" DefaultOption="auto-updates-disable" Description="Updates are important for security, you'll get update notifications regardless.">
<TopLine Text="This can be changed in the Atlas folder later."/>
<Options>
<RadioOption>
<Text>Disable Core Isolation (recommended)</Text>
<Name>vbs-disable</Name>
<Text>Disable Automatic Windows Updates</Text>
<Name>auto-updates-disable</Name>
</RadioOption>
<RadioOption>
<Text>Windows Default</Text>
<Name>vbs-default</Name>
<Text>Enable Automatic Windows Updates</Text>
<Name>auto-updates-default</Name>
</RadioOption>
</Options>
<BottomLine Text="Learn more" Link="https://docs.atlasos.net/getting-started/post-installation/atlas-folder/security/#core-isolation"/>
<BottomLine Text="Learn more" Link="https://docs.atlasos.net/getting-started/post-installation/atlas-folder/general-configuration/#automatic-updates"/>
</RadioPage>
<CheckboxPage IsRequired="true" Description="Select the options you would like to use, they can be changed in the Atlas folder later.">
<Options>
<CheckboxOption>
<Text>Disable Printing</Text>
<Name>disable-printing</Name>
</CheckboxOption>
<CheckboxOption>
<Text>Disable Bluetooth</Text>
<Name>disable-bluetooth</Name>
</CheckboxOption>
<CheckboxOption>
<Text>Disable Power Saving</Text>
<Name>disable-power-saving</Name>
</CheckboxOption>
</Options>
<BottomLine Text="Learn more" Link="https://docs.atlasos.net/getting-started/post-installation/atlas-folder/configuration"/>
</CheckboxPage>
<CheckboxPage IsRequired="true" Description="Select the options you would like to use, they can be changed in the Atlas folder later.">
<Options>
<CheckboxOption>
<Text>Disable Hibernation</Text>
<Name>disable-hibernation</Name>
</CheckboxOption>
<CheckboxOption>
<Text>Disable Automatic Updates</Text>
<Name>disable-auto-updates</Name>
<Text>Disable Power Saving</Text>
<Name>disable-power-saving</Name>
</CheckboxOption>
<CheckboxOption>
<Text>Remove Snipping Tool App</Text>
<Name>remove-snipping-tool</Name>
<Text>Disable Core Isolation</Text>
<Name>disable-core-isolation</Name>
</CheckboxOption>
</Options>
<BottomLine Text="Learn more" Link="https://docs.atlasos.net/getting-started/post-installation/atlas-folder/configuration"/>
</CheckboxPage>
<CheckboxPage IsRequired="true" Description="Select the options you would like to use, they can be changed in the Atlas folder later.">
<Options>
<CheckboxOption>
<Text>Disable Notifications</Text>
<Name>disable-notifications</Name>
<Text>Remove Snipping Tool App</Text>
<Name>remove-snipping-tool</Name>
</CheckboxOption>
<CheckboxOption>
<Text>Remove Microsoft Edge</Text>
Expand Down

0 comments on commit 0540243

Please sign in to comment.