Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #349

Merged
merged 5 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/application/collections/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3711,7 +3711,7 @@ functions:
# User-specific:
# [~/.profile]
# User-specific shell initialization scripts.
# ✅ Recomended by Debian to edit for user-specific environment variables.
# ✅ Recommended by Debian to edit for user-specific environment variables.
# [~/.bashrc]
# User-based configuration file to set environment variables for Bash shell.
# ❌ Bash-specific.
Expand Down Expand Up @@ -3783,7 +3783,7 @@ functions:
if [[ -f "$cronjob_path" ]]; then
if [[ -x "$cronjob_path" ]]; then
sudo chmod -x "$cronjob_path"
echo "Succesfully disabled cronjob \"$job_name\"."
echo "Successfully disabled cronjob \"$job_name\"."
else
echo "Skipping, cronjob \"$job_name\" is already disabled."
fi
Expand All @@ -3797,7 +3797,7 @@ functions:
echo "Skipping, cronjob \"$job_name\" is already enabled."
else
sudo chmod +x "$cronjob_path"
echo "Succesfully enabled cronjob \"$job_name\"."
echo "Successfully enabled cronjob \"$job_name\"."
fi
else
>&2 echo "Failed to enable cronjob \"$job_name\" because it's missing."
Expand Down Expand Up @@ -3939,7 +3939,7 @@ functions:
echo "Backup file exists: $file."
sudo mv "$backup_file" "$file"
echo "Moved to: $file."
echo "Succesfully restored."
echo "Successfully restored."
else
>&2 echo "Failed to restore, backup file could not be found at $backup_file."
>&2 echo "Was the change initially applied by privacy.sexy?"
Expand Down
2 changes: 1 addition & 1 deletion src/application/collections/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ actions:

> **Caution**:
> Disabling automatic updates can leave your system vulnerable to unpatched exploits.
> Manually check and and apply updates to stay protected.
> Manually check and apply updates to stay protected.
children:
-
name: Disable automatic checks for updates
Expand Down
28 changes: 14 additions & 14 deletions src/application/collections/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ actions:
- https://web.archive.org/web/20240314101459/https://kb.digital-detective.net/display/BF/Location+of+Internet+Explorer+Data
- https://web.archive.org/web/20240314175030/https://kb.digital-detective.net/display/BF/Location+of+Internet+Explorer+11+Data
- https://web.archive.org/web/20240314100550/https://forensafe.com/blogs/internetexplorer.html
# Includes Internet Explorer cache, tab recovery data, persistance storage (DOMStore, indexed DB etc.)
# Includes Internet Explorer cache, tab recovery data, persistence storage (DOMStore, indexed DB etc.)
# Folders: CacheStorage\, Tracking Protection\, Tiles\, TabRoaming\, IECompatData\
# DOMStore\, Recovery\ (that includes browser history), DomainSuggestions\,
# VersionManager\, UrlBlockManager\, Indexed DB\, imagestore\, IEFlipAheadCache\
Expand Down Expand Up @@ -1459,7 +1459,7 @@ actions:
name: Remove Windows product key from registry
# Helps to protect it from being stolen and used for identity theft or identifying you.
docs: https://web.archive.org/web/20240314100853/https://winaero.com/remove-windows-10-product-key-from-registry-and-protect-it-from-being-stolen/
# We use cscript.exe to execute instead of `slmgr` command directly to keep the output but surpress the dialogs.
# We use cscript.exe to execute instead of `slmgr` command directly to keep the output but suppress the dialogs.
code: cscript.exe //nologo "%SYSTEMROOT%\System32\slmgr.vbs" /cpky
-
name: Clear volume backups (shadow copies)
Expand Down Expand Up @@ -1495,7 +1495,7 @@ actions:
-
# If the service is not stopped, following error is thrown:
# Failed to delete SRUM database file at: "C:\Windows\System32\sru\SRUDB.dat". Error Details: The process cannot access
# the file 'C:\Windows\System32\sru\SRUDB.dat' because it is being used by another proces
# the file 'C:\Windows\System32\sru\SRUDB.dat' because it is being used by another process
function: StopService
parameters:
serviceName: DPS
Expand Down Expand Up @@ -7838,7 +7838,7 @@ actions:
This action can significantly increase security risks [6].

> **Caution**: Disabling this service causes problems with software that depends on it [11] such as:
> - Prevents **Microsoft Store** app downloads [8] [9], impacting **`winget` CLI functionality [10].
> - Prevents **Microsoft Store** app downloads [8] [9], impacting **`winget`** CLI functionality [10].
> - Disables **`netsh advfirewall`** commands, used for Windows Firewall management [11].

### Overview of default service statuses
Expand Down Expand Up @@ -7891,7 +7891,7 @@ actions:
firewall service stops unexpectedly [2].

> **Caution**: Disabling this service causes problems with software that depends on it [11] such as:
> - Prevents **Microsoft Store** app downloads (error code `0x80073D0A` [7] [12]), impacting **`winget` CLI functionality [13].
> - Prevents **Microsoft Store** app downloads (error code `0x80073D0A` [7] [12]), impacting **`winget`** CLI functionality [13].
> - Disables **`netsh advfirewall`** commands, used for Windows Firewall management [14].

### Overview of default service statuses
Expand Down Expand Up @@ -8649,7 +8649,7 @@ actions:
-
name: Maximize days until mandatory catch-up scan
docs: https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsDefender::Scan_MissedScheduledScanCountBeforeCatchup
# Default and minumum is 2, maximum is 20
# Default and minimum is 2, maximum is 20
code: reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "MissedScheduledScanCountBeforeCatchup" /t REG_DWORD /d "20" /f
revertCode: reg delete "HKLM\Software\Policies\Microsoft\Windows Defender\Scan" /v "MissedScheduledScanCountBeforeCatchup" /f 2>nul
-
Expand Down Expand Up @@ -9653,7 +9653,7 @@ actions:
-
function: RunInlineCodeAsTrustedInstaller
parameters:
# "net stop" is used to stop dependend services as well, "sc stop" fails
# "net stop" is used to stop dependent services as well, "sc stop" fails
code: net stop "WdNisDrv" /yes >nul & reg add "HKLM\SYSTEM\CurrentControlSet\Services\WdNisDrv" /v "Start" /t REG_DWORD /d "4" /f
revertCode: reg add "HKLM\SYSTEM\CurrentControlSet\Services\WdNisDrv" /v "Start" /t REG_DWORD /d "3" /f & sc start "WdNisDrv" >nul
-
Expand Down Expand Up @@ -11405,8 +11405,8 @@ actions:
-
category: Configure how downloaded files are handled
docs: |-
These scripts configures Attachment Manager included in Windows that that takes further actions for
files that you receive or download such as storing classification metadata and notfying other software [1].
These scripts configures Attachment Manager included in Windows that takes further actions for
files that you receive or download such as storing classification metadata and notifying other software [1].

[1]: https://support.microsoft.com/en-us/topic/information-about-the-attachment-manager-in-microsoft-windows-c48a4dcd-8de5-2af5-ee9b-cd795ae42738 "Information about the Attachment Manager in Microsoft Windows | support.microsoft.com"
children:
Expand All @@ -11420,7 +11420,7 @@ actions:
intranet, local, or restricted zone [1].

It is used by Attachment Manager that is included in Windows to help protect the computer from
unsafe attachments that can be recieved with e-mail message or downloaded from Internet [2].
unsafe attachments that can be received with e-mail message or downloaded from Internet [2].
If the Attachment Manager identifies an attachment that might be unsafe, it prevents you from
opening the file, or it warns you before you open the file [2].

Expand Down Expand Up @@ -14226,7 +14226,7 @@ actions:
function: UninstallNonRemovableStoreAppWithCleanup
parameters:
packageName: Microsoft.AAD.BrokerPlugin # Get-AppxPackage Microsoft.AAD.BrokerPlugin
# Offical docs point to wrong "Microsoft.AAD.Broker.Plugin"
# Official docs point to wrong "Microsoft.AAD.Broker.Plugin"
publisherId: cw5n1h2txyewy
-
name: Remove "Microsoft Accounts Control" app
Expand Down Expand Up @@ -14864,7 +14864,7 @@ actions:
function: UninstallNonRemovableStoreAppWithCleanup
parameters:
packageName: Microsoft.Windows.OOBENetworkCaptivePortal # Get-AppxPackage Microsoft.Windows.OOBENetworkCaptivePortal
# Offical docs point to wrong "Microsoft.Windows.OOBENetworkCaptivePort"
# Official docs point to wrong "Microsoft.Windows.OOBENetworkCaptivePort"
publisherId: cw5n1h2txyewy
-
name: Remove "OOBE Network Connection Flow" app
Expand Down Expand Up @@ -18748,7 +18748,7 @@ functions:
# - By default, `Remove-MpPreference` sets default values for settings for all cases.
# - `setDefaultOnWindows11` parameter changes this behavior to set the default value using `Set-MpPreference`
# On Windows 10:
# - If `default` argument is is provided, it's set using `Set-MpPreference`
# - If `default` argument is provided, it's set using `Set-MpPreference`
# - `default` argument should not be provided if `Remove-MpPreference` is supported in Windows 10.
revertCode: |-
$propertyName = '{{ $property }}'
Expand Down Expand Up @@ -19109,7 +19109,7 @@ functions:
call:
-
function: RunPowerShell
# See all default OS assocations:
# See all default OS associations:
# 1. Open an elevated prompt
# 2. Run `dism /online /export-defaultappassociations:C:\appassoc.xml`
# 3. Inspect `C:\appassoc.xml`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TimerStub } from '@tests/unit/shared/Stubs/TimerStub';

describe('batchedDebounce', () => {
describe('immediate invocation', () => {
it('does not call the the callback immediately on the first call', () => {
it('does not call the callback immediately on the first call', () => {
// arrange
const { calledBatches, callback } = createObservableCallback();
const callArg = 'first';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe('VisibleTerminalScriptFileExecutor', () => {
): ScriptFileExecutorTestSetup;
}> = [
{
description: 'unindentified os',
description: 'unidentified os',
expectedErrorType: 'UnsupportedOperatingSystem',
expectedErrorMessage: 'Operating system could not be identified from environment',
buildFaultyContext: (setup) => {
Expand Down
Loading