Skip to content

Commit 046b9c3

Browse files
authored
Merge pull request #1475 from imjustprism/new-update
chore: fix typo spellings across scripts and configuration files
2 parents cb0a3d0 + 746a8a0 commit 046b9c3

File tree

31 files changed

+184
-89
lines changed

31 files changed

+184
-89
lines changed

.editorconfig

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
indent_style = space
9+
indent_size = 4
10+
11+
[*.{yml,yaml}]
12+
indent_size = 2
13+
end_of_line = lf
14+
15+
[*.json]
16+
indent_size = 2
17+
end_of_line = lf
18+
19+
[*.jsonc]
20+
indent_size = 2
21+
end_of_line = lf
22+
23+
[*.xml]
24+
indent_size = 2
25+
end_of_line = lf
26+
27+
[*.conf]
28+
indent_size = 2
29+
end_of_line = lf
30+
31+
[*.ps1]
32+
end_of_line = crlf
33+
34+
[*.psm1]
35+
end_of_line = crlf
36+
37+
[*.cmd]
38+
indent_style = space
39+
indent_size = 4
40+
end_of_line = crlf
41+
42+
[*.bat]
43+
indent_style = space
44+
indent_size = 4
45+
end_of_line = crlf
46+
47+
[*.sh]
48+
indent_style = space
49+
indent_size = 2
50+
end_of_line = lf
51+
52+
[*.md]
53+
trim_trailing_whitespace = false
54+
55+
[*.reg]
56+
end_of_line = crlf
57+
indent_style = space
58+
indent_size = 4

.vscode/extensions.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"recommendations": [
3-
"ms-vscode.powershell",
4-
"ionutvmi.reg",
5-
"redhat.vscode-xml",
6-
"redhat.vscode-yaml"
7-
]
8-
}
2+
"recommendations": [
3+
"ms-vscode.powershell",
4+
"ionutvmi.reg",
5+
"redhat.vscode-xml",
6+
"redhat.vscode-yaml",
7+
"foxundermoon.shell-format"
8+
]
9+
}

.vscode/settings.json

Lines changed: 64 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,65 @@
11
{
2-
"yaml.customTags": [
3-
"!run: mapping",
4-
"!registryKey: mapping",
5-
"!registryValue: mapping",
6-
"!appx: mapping",
7-
"!file: mapping",
8-
"!service: mapping",
9-
"!scheduledTask: mapping",
10-
"!taskKill: mapping",
11-
"!systemPackage: mapping",
12-
"!cmd: mapping",
13-
"!powerShell: mapping",
14-
"!writeStatus: mapping",
15-
"!task: mapping"
16-
],
17-
"files.associations": {
18-
"playbook.conf": "xml"
19-
}
20-
}
2+
"editor.formatOnSave": true,
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll": "explicit",
5+
"source.fixAll.eslint": "explicit"
6+
},
7+
"editor.detectIndentation": false,
8+
"editor.insertSpaces": true,
9+
"editor.tabSize": 4,
10+
"[yaml]": {
11+
"editor.defaultFormatter": "redhat.vscode-yaml",
12+
"editor.tabSize": 2
13+
},
14+
"[json]": {
15+
"editor.defaultFormatter": "vscode.json-language-features",
16+
"editor.tabSize": 2
17+
},
18+
"[jsonc]": {
19+
"editor.defaultFormatter": "vscode.json-language-features",
20+
"editor.tabSize": 2
21+
},
22+
"[powershell]": {
23+
"editor.defaultFormatter": "ms-vscode.powershell",
24+
"editor.tabSize": 4
25+
},
26+
"[markdown]": {
27+
"editor.defaultFormatter": "vscode.markdown-language-features",
28+
"editor.trimAutoWhitespace": false
29+
},
30+
"[shellscript]": {
31+
"editor.formatOnSave": true,
32+
"editor.defaultFormatter": "foxundermoon.shell-format",
33+
"editor.tabSize": 2
34+
},
35+
"[bat]": {
36+
"editor.formatOnSave": true,
37+
"editor.tabSize": 4
38+
},
39+
"[xml]": {
40+
"editor.defaultFormatter": "redhat.vscode-xml",
41+
"editor.tabSize": 2
42+
},
43+
"files.eol": "\n",
44+
"files.encoding": "utf8",
45+
"files.trimTrailingWhitespace": true,
46+
"files.insertFinalNewline": true,
47+
"yaml.customTags": [
48+
"!run: mapping",
49+
"!registryKey: mapping",
50+
"!registryValue: mapping",
51+
"!appx: mapping",
52+
"!file: mapping",
53+
"!service: mapping",
54+
"!scheduledTask: mapping",
55+
"!taskKill: mapping",
56+
"!systemPackage: mapping",
57+
"!cmd: mapping",
58+
"!powerShell: mapping",
59+
"!writeStatus: mapping",
60+
"!task: mapping"
61+
],
62+
"files.associations": {
63+
"playbook.conf": "xml"
64+
}
65+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Some optional security features are:
4444

4545
- Windows Defender & SmartScreen
4646
- Windows Update
47-
- Automatic updates are togglable
47+
- Automatic updates are toggleable
4848
- CPU mitigations
4949
- User Account Control
5050
- Core isolation features

src/playbook/Configuration/atlas/services.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ onUpgrade: false
55
actions:
66
# ----------------------------------
77
# - Potential references -
8-
# - Mostly upon IoT recommandation -
8+
# - Mostly upon IoT recommendation -
99
# ----------------------------------
1010
# https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-vdi-recommendations-2004
1111
# https://learn.microsoft.com/en-us/windows-server/security/windows-services/security-guidelines-for-disabling-system-services-in-windows-server
1212
# https://learn.microsoft.com/en-us/windows/iot/iot-enterprise/optimize/services
1313

14-
# Back up default Windows serivces & drivers
14+
# Back up default Windows services & drivers
1515
- !powerShell:
1616
command: |
1717
.\BACKUP.ps1 -FilePath """$([Environment]::GetFolderPath('Windows'))\AtlasModules\Other\winServices.reg"""
@@ -59,7 +59,7 @@ actions:
5959
- !service: {name: 'diagnosticshub.standardcollector.service', operation: change, startup: 4}
6060
- !service: {name: 'WerSvc', operation: change, startup: 4}
6161

62-
# ------- Microsoft recommendation - 'No guideance' ------
62+
# ------- Microsoft recommendation - 'No guidance' ------
6363
- !service: {name: 'wercplsupport', operation: change, startup: 4}
6464
- !service: {name: 'UCPD', operation: change, startup: 4}
6565

src/playbook/Configuration/atlas/start.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ actions:
88
command: |
99
function Add-ToPath ([array]$Paths) {
1010
$machine = [System.EnvironmentVariableTarget]::Machine
11-
$seperator = [IO.Path]::PathSeparator
12-
11+
$separator = [IO.Path]::PathSeparator
12+
1313
$Paths | ForEach-Object {
1414
if (!(Test-Path $_ -PathType Container)) {
1515
Write-Error """Path '$_' doesn't exist as a container."""
1616
}
1717
}
1818
1919
$newPath = @()
20-
$newPath += [Environment]::GetEnvironmentVariable('PATH', $machine) -split $seperator
20+
$newPath += [Environment]::GetEnvironmentVariable('PATH', $machine) -split $separator
2121
if ($newPath.Count -eq 0) { Write-Warning 'The PATH variable is currently empty.' }
2222
$newPath += $Paths
2323
$newPath = $newPath | Where-Object { $_ } | Select-Object -Unique
2424
25-
[Environment]::SetEnvironmentVariable('PATH', """$($newPath -join $seperator)""", $machine)
25+
[Environment]::SetEnvironmentVariable('PATH', """$($newPath -join $separator)""", $machine)
2626
}
2727
2828
$modulesPath = """$([Environment]::GetFolderPath('Windows'))\AtlasModules"""
@@ -47,7 +47,7 @@ actions:
4747
wait: true
4848
weight: 150
4949
runas: currentUserElevated
50-
50+
5151
#Toolbox
5252
- !writeStatus: {status: 'Installing AtlasOS Toolbox'}
5353
- !powerShell:

src/playbook/Configuration/custom.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Root Playbook File
33
description: Runs all of the Playbook files
44
actions:
5-
# some changes requires default user access. lodaing the hive before everything else is required
5+
# some changes requires default user access. loading the hive before everything else is required
66
- !powerShell:
77
command: 'reg load HKU\AME_UserHive_Default C:\Users\Default\NTUSER.DAT'
88
oobe: false
@@ -82,14 +82,14 @@ actions:
8282
- !task: { path: "tweaks.yml" }
8383

8484
# Test hive applying. Not sure if this will work as intended
85-
85+
8686
- !writeStatus: { status: "Applying hives..." }
8787
- !powerShell:
8888
command: '.\APPLYDUHIVE.ps1'
8989
exeDir: true
9090
wait: true
9191
runas: currentUserElevated
92-
92+
9393

9494
# Set all the correct paths if there are incorrect ones in the registry
9595
- !writeStatus: { status: "Cleaning up registry paths" }
@@ -99,7 +99,7 @@ actions:
9999
wait: true
100100
runas: currentUserElevated
101101

102-
# Unloading the hive
102+
# Unloading the hive
103103
- !powerShell:
104104
command: 'reg unload HKU\AME_UserHive_Default'
105105
oobe: false

src/playbook/Configuration/tweaks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ actions:
6363
# - !task: {path: 'tweaks\performance\system\disable-paging.yml'}
6464
- !task: {path: 'tweaks\performance\system\optimize-ntfs.yml'}
6565
- !task: {path: 'tweaks\performance\system\disable-service-host-split.yml'}
66-
- !task: {path: 'tweaks\performance\system\win32-priority-seperation.yml'}
66+
- !task: {path: 'tweaks\performance\system\win32-priority-separation.yml'}
6767

6868

6969

@@ -139,7 +139,7 @@ actions:
139139
#
140140
# QoL stands for Quality of Life, and are general
141141
# modifications designed for making Windows easier and
142-
# more pleasent to use for more advanced general users.
142+
# more pleasant to use for more advanced general users.
143143
#
144144
# QoL tweaks can be anything, but they are mostly to do
145145
# with modifying the graphical user interface (GUI).
@@ -362,4 +362,4 @@ actions:
362362
- !task: {path: 'tweaks\misc\add-music-videos-to-home.yml'}
363363
- !task: {path: 'tweaks\scripts\script-power.yml'} # Done last on purpose
364364
- !task: {path: 'tweaks\misc\enable-notifications.yml'}
365-
- !task: {path: 'tweaks\misc\config-oem-information.yml'}
365+
- !task: {path: 'tweaks\misc\config-oem-information.yml'}
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
---
22
title: Disable Searching for Invalid Shortcuts
3-
description: Disables searching drives or using NTFS file system tracking for shortcuts that have invalid/non-existant paths for responsiveness
3+
description: Disables searching drives or using NTFS file system tracking for shortcuts that have invalid/non-existent paths for responsiveness
44
actions:
55
- !registryValue:
66
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer'
77
value: 'NoResolveSearch'
88
data: '1'
99
type: REG_DWORD
10-
11-
10+
11+
1212
- !registryValue:
1313
path: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer'
1414
value: 'NoResolveTrack'
1515
data: '1'
1616
type: REG_DWORD
17-
18-

0 commit comments

Comments
 (0)