diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 2be4e4a9..f1b81289 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -87,7 +87,7 @@ graph TD ### Testing your changes -* To test to see if your changes work as intended run following commands in a powershell teminal as admin: +* To test to see if your changes work as intended run following commands in a powershell terminal as admin: * Change the directory where you are running the commands to the forked project. * `cd {path to the folder with the compile.ps1}` diff --git a/config/applications.json b/config/applications.json index 4746bc58..c4547316 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2699,7 +2699,7 @@ "category": "Utilities", "choco": "ultravnc", "content": "UltraVNC", - "description": "UltraVNC is a powerful, easy to use and free - remote pc access softwares - that can display the screen of another computer (via internet or network) on your own screen. The program allows you to use your mouse and keyboard to control the other PC remotely. It means that you can work on a remote computer, as if you were sitting in front of it, right from your current location.", + "description": "UltraVNC is a powerful, easy to use and free - remote pc access software - that can display the screen of another computer (via internet or network) on your own screen. The program allows you to use your mouse and keyboard to control the other PC remotely. It means that you can work on a remote computer, as if you were sitting in front of it, right from your current location.", "link": "https://uvnc.com/", "winget": "uvncbvba.UltraVnc" }, diff --git a/config/themes.json b/config/themes.json index 4775ee5a..b44ae419 100644 --- a/config/themes.json +++ b/config/themes.json @@ -3,7 +3,7 @@ "AppEntryWidth": "130", "AppEntryFontSize": "11", "AppEntryMargin": "1,1,1,1", - "AppEntryBorderTickness": "0", + "AppEntryBorderThickness": "0", "CustomDialogFontSize": "12", "CustomDialogFontSizeHeader": "14", "CustomDialogLogoSize": "25", diff --git a/config/tweaks.json b/config/tweaks.json index eb2a22d6..c8b39cd2 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -99,7 +99,7 @@ Write-Host \"Turn off Hibernation\" Start-Process -FilePath powercfg -ArgumentList \"/hibernate off\" -NoNewWindow -Wait - # Set standby to detault values + # Set standby to default values Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-ac 15\" -NoNewWindow -Wait Start-Process -FilePath powercfg -ArgumentList \"/change standby-timeout-dc 15\" -NoNewWindow -Wait Start-Process -FilePath powercfg -ArgumentList \"/change monitor-timeout-ac 15\" -NoNewWindow -Wait diff --git a/functions/microwin/Microwin-NewCheckInstall.ps1 b/functions/microwin/Microwin-NewCheckInstall.ps1 index 6520ac6a..c2c2900e 100644 --- a/functions/microwin/Microwin-NewCheckInstall.ps1 +++ b/functions/microwin/Microwin-NewCheckInstall.ps1 @@ -1,6 +1,6 @@ function Microwin-NewCheckInstall { - # using here string to embedd firstrun + # using here string to embed firstrun $checkInstall = @' @echo off if exist "%HOMEDRIVE%\windows\cpu.txt" ( diff --git a/functions/microwin/Microwin-NewFirstRun.ps1 b/functions/microwin/Microwin-NewFirstRun.ps1 index a10fed3e..0fe6ff1d 100644 --- a/functions/microwin/Microwin-NewFirstRun.ps1 +++ b/functions/microwin/Microwin-NewFirstRun.ps1 @@ -1,6 +1,6 @@ function Microwin-NewFirstRun { - # using here string to embedd firstrun + # using here string to embed firstrun $firstRun = @' # Set the global error action preference to continue $ErrorActionPreference = "Continue" diff --git a/functions/private/Add-SelectedAppsMenuItem.ps1 b/functions/private/Add-SelectedAppsMenuItem.ps1 index 29789c20..c52bb7c8 100644 --- a/functions/private/Add-SelectedAppsMenuItem.ps1 +++ b/functions/private/Add-SelectedAppsMenuItem.ps1 @@ -41,7 +41,7 @@ $selectedAppRemoveButton.Add_MouseEnter({ $this.Foreground = "Red" }) $selectedAppRemoveButton.Add_MouseLeave({ $this.SetResourceReference([Windows.Controls.Control]::ForegroundProperty, "MainForegroundColor") }) $selectedAppRemoveButton.Add_Click({ - $sync.($this.Tag).isChecked = $false # On click of the remove button, we only have to uncheck the corresponding checkbox. This will kick of all neccessary changes to update the UI + $sync.($this.Tag).isChecked = $false # On click of the remove button, we only have to uncheck the corresponding checkbox. This will kick of all necessary changes to update the UI }) [System.Windows.Controls.Grid]::SetColumn($selectedAppRemoveButton, 1) $selectedAppGrid.Children.Add($selectedAppRemoveButton) diff --git a/functions/private/Get-LocalizedYesNo.ps1 b/functions/private/Get-LocalizedYesNo.ps1 index 0c8e9390..01be563f 100644 --- a/functions/private/Get-LocalizedYesNo.ps1 +++ b/functions/private/Get-LocalizedYesNo.ps1 @@ -13,7 +13,7 @@ function Get-LocalizedYesNo { #> # Run choice and capture its options as output - # The output shows the options for Yes and No as "[Y,N]?" in the (partitially) localized format. + # The output shows the options for Yes and No as "[Y,N]?" in the (partially) localized format. # eg. English: [Y,N]? # Dutch: [Y,N]? # German: [J,N]? diff --git a/functions/private/Initialize-InstallAppArea.ps1 b/functions/private/Initialize-InstallAppArea.ps1 index 85a66836..bb605ab8 100644 --- a/functions/private/Initialize-InstallAppArea.ps1 +++ b/functions/private/Initialize-InstallAppArea.ps1 @@ -8,7 +8,7 @@ Also creates an overlay with a progress bar and text to indicate that an install or uninstall is in progress .PARAMETER TargetElement - The element to which the AppArea shoud be added + The element to which the AppArea should be added #> param($TargetElement) diff --git a/functions/private/Initalize-InstallAppEntry.ps1 b/functions/private/Initialize-InstallAppEntry.ps1 similarity index 98% rename from functions/private/Initalize-InstallAppEntry.ps1 rename to functions/private/Initialize-InstallAppEntry.ps1 index ccc8d892..ce144c4f 100644 --- a/functions/private/Initalize-InstallAppEntry.ps1 +++ b/functions/private/Initialize-InstallAppEntry.ps1 @@ -1,7 +1,7 @@ function Initialize-InstallAppEntry { <# .SYNOPSIS - Creates the app entry to be placed on the isntall tab for a given app + Creates the app entry to be placed on the install tab for a given app Used to as part of the Install Tab UI generation .PARAMETER TargetElement The Element into which the Apps should be placed diff --git a/functions/private/Invoke-WinUtilTweaks.ps1 b/functions/private/Invoke-WinUtilTweaks.ps1 index a6822111..ad79c55e 100644 --- a/functions/private/Invoke-WinUtilTweaks.ps1 +++ b/functions/private/Invoke-WinUtilTweaks.ps1 @@ -54,7 +54,7 @@ function Invoke-WinUtilTweaks { $sync.configs.tweaks.$CheckBox.service | ForEach-Object { $changeservice = $true - # The check for !($undo) is required, without it the script will throw an error for accessing unavailable memeber, which's the 'OriginalService' Property + # The check for !($undo) is required, without it the script will throw an error for accessing unavailable member, which's the 'OriginalService' Property if($KeepServiceStartup -AND !($undo)) { try { # Check if the service exists diff --git a/functions/private/Set-PackageManagerPreference.ps1 b/functions/private/Set-PackageManagerPreference.ps1 index 2754c097..17bc7a7b 100644 --- a/functions/private/Set-PackageManagerPreference.ps1 +++ b/functions/private/Set-PackageManagerPreference.ps1 @@ -6,35 +6,35 @@ function Set-PackageManagerPreference { Reads from preference.ini if no argument sent. - .PARAMETER preferedPackageManager + .PARAMETER preferredPackageManager The PackageManager that was selected. #> param( [Parameter(Position=0, Mandatory=$false)] - [PackageManagers]$preferedPackageManager + [PackageManagers]$preferredPackageManager ) $preferencePath = "$env:LOCALAPPDATA\winutil\preferences.ini" $oldChocoPath = "$env:LOCALAPPDATA\winutil\preferChocolatey.ini" #Try loading from file if no argument given. - if ($null -eq $preferedPackageManager) { + if ($null -eq $preferredPackageManager) { # Backwards compat for preferChocolatey.ini if (Test-Path -Path $oldChocoPath) { - $preferedPackageManager = [PackageManagers]::Choco + $preferredPackageManager = [PackageManagers]::Choco Remove-Item -Path $oldChocoPath } elseif (Test-Path -Path $preferencePath) { $potential = Get-Content -Path $preferencePath -TotalCount 1 - $preferedPackageManager = [PackageManagers]$potential + $preferredPackageManager = [PackageManagers]$potential } else { Write-Debug "Creating new preference file, defaulting to winget." - $preferedPackageManager = [PackageManagers]::Winget + $preferredPackageManager = [PackageManagers]::Winget } } - $sync["ManagerPreference"] = [PackageManagers]::$preferedPackageManager + $sync["ManagerPreference"] = [PackageManagers]::$preferredPackageManager Write-Debug "Manager Preference changed to '$($sync["ManagerPreference"])'" diff --git a/functions/private/Set-WinUtilProgressbar.ps1 b/functions/private/Set-WinUtilProgressbar.ps1 index 9a2402ec..e5f21260 100644 --- a/functions/private/Set-WinUtilProgressbar.ps1 +++ b/functions/private/Set-WinUtilProgressbar.ps1 @@ -4,7 +4,7 @@ function Set-WinUtilProgressbar{ This function is used to Update the Progress Bar displayed in the winutil GUI. It will be automatically hidden if the user clicks something and no process is running .PARAMETER Label - The Text to be overlayed onto the Progress Bar + The Text to be overlaid onto the Progress Bar .PARAMETER PERCENT The percentage of the Progress Bar that should be filled (0-100) #> diff --git a/functions/private/Test-WinUtilPackageManager.ps1 b/functions/private/Test-WinUtilPackageManager.ps1 index 0b4e53e2..815d22f6 100644 --- a/functions/private/Test-WinUtilPackageManager.ps1 +++ b/functions/private/Test-WinUtilPackageManager.ps1 @@ -33,7 +33,7 @@ function Test-WinUtilPackageManager { $wingetVersionFull = ($wingetInfo | Select-String -Pattern 'Package Manager v\d+\.\d+\.\d+').Matches.Value.Split(' ')[-1] } } catch [System.Management.Automation.CommandNotFoundException], [System.Management.Automation.ApplicationFailedException] { - Write-Warning "Winget was not found due to un-availablity reasons" + Write-Warning "Winget was not found due to un-availability reasons" $wingetExists = $false } catch { Write-Warning "Winget was not found due to un-known reasons, The Stack Trace is:`n$($psitem.Exception.StackTrace)" @@ -41,7 +41,7 @@ function Test-WinUtilPackageManager { } # If Winget is available, Parse it's Version and give proper information to Terminal Output. - # If it isn't available, the return of this funtion will be "not-installed", indicating that + # If it isn't available, the return of this function will be "not-installed", indicating that # Winget isn't installed/available on The System. if ($wingetExists) { # Check if Preview Version @@ -55,7 +55,7 @@ function Test-WinUtilPackageManager { # Check if Winget's Version is too old. $wingetCurrentVersion = [System.Version]::Parse($wingetVersion.Trim('v')) - # Grabs the latest release of Winget from the Github API for version check process. + # Grabs the latest release of Winget from the GitHub API for version check process. $response = winget search -e Microsoft.AppInstaller --accept-source-agreements $wingetLatestVersion = ($response | Select-String -Pattern '\d+\.\d+\.\d+\.\d+').Matches.Value Write-Host "Latest Search Version: $wingetLatestVersion" -ForegroundColor White diff --git a/functions/public/Invoke-ScratchDialog.ps1 b/functions/public/Invoke-ScratchDialog.ps1 index 53ffc8fd..a35366c6 100644 --- a/functions/public/Invoke-ScratchDialog.ps1 +++ b/functions/public/Invoke-ScratchDialog.ps1 @@ -4,7 +4,7 @@ function Invoke-ScratchDialog { <# .SYNOPSIS - Enable Editable Text box Alternate Scartch path + Enable Editable Text box Alternate Scratch path .PARAMETER Button #> diff --git a/functions/public/Invoke-WPFInstallUpgrade.ps1 b/functions/public/Invoke-WPFInstallUpgrade.ps1 index c914d023..0f262a0d 100644 --- a/functions/public/Invoke-WPFInstallUpgrade.ps1 +++ b/functions/public/Invoke-WPFInstallUpgrade.ps1 @@ -12,7 +12,7 @@ function Invoke-WPFInstallUpgrade { Write-Host "Upgrade Successful" } else{ - Write-Host "Error Occured. Return Code: $chocoUpgradeStatus" + Write-Host "Error Occurred. Return Code: $chocoUpgradeStatus" } } else{ diff --git a/functions/public/Invoke-WPFtweaksbutton.ps1 b/functions/public/Invoke-WPFtweaksbutton.ps1 index ed879b28..e7b24574 100644 --- a/functions/public/Invoke-WPFtweaksbutton.ps1 +++ b/functions/public/Invoke-WPFtweaksbutton.ps1 @@ -24,7 +24,7 @@ function Invoke-WPFtweaksbutton { Write-Debug "Number of tweaks to process: $($Tweaks.Count)" - # The leading "," in the ParameterList is nessecary because we only provide one argument and powershell cannot be convinced that we want a nested loop with only one argument otherwise + # The leading "," in the ParameterList is necessary because we only provide one argument and powershell cannot be convinced that we want a nested loop with only one argument otherwise Invoke-WPFRunspace -ParameterList @(,("tweaks",$tweaks)) -DebugPreference $DebugPreference -ScriptBlock { param( $tweaks, diff --git a/tools/Invoke-Preprocessing.ps1 b/tools/Invoke-Preprocessing.ps1 index 241fa708..9962b9fe 100644 --- a/tools/Invoke-Preprocessing.ps1 +++ b/tools/Invoke-Preprocessing.ps1 @@ -23,7 +23,7 @@ function Invoke-Preprocessing { .EXAMPLE Invoke-Preprocessing -WorkingDir "DRIVE:\Path\To\Folder\" -ExcludedFiles @('file.txt', '.\.git\', '*.png') -ProgressStatusMessage "Doing Preprocessing" - Calls 'Invoke-Preprocessing' function using Named Paramters, with 'WorkingDir' (Mandatory Parameter) which's used as the base folder when searching for files recursively (using 'Get-ChildItem'), other two paramters are, in order from right to left, the Optional 'ExcludeFiles', which can be a path to a file, folder, or pattern-matched (like '*.png'), and the 'ProgressStatusMessage', which's used in Progress Bar. + Calls 'Invoke-Preprocessing' function using Named Parameters, with 'WorkingDir' (Mandatory Parameter) which's used as the base folder when searching for files recursively (using 'Get-ChildItem'), other two parameters are, in order from right to left, the Optional 'ExcludeFiles', which can be a path to a file, folder, or pattern-matched (like '*.png'), and the 'ProgressStatusMessage', which's used in Progress Bar. .EXAMPLE Invoke-Preprocessing -WorkingDir "DRIVE:\Path\To\Folder\" -ExcludedFiles @('file.txt', '.\.git\', '*.png') -ProgressStatusMessage "Doing Preprocessing" -ProgressActivity "Re-Formatting Code" @@ -51,7 +51,7 @@ function Invoke-Preprocessing { ) if (-NOT (Test-Path -PathType Container -Path "$WorkingDir")) { - throw "[Invoke-Preprocessing] Invalid Paramter Value for 'WorkingDir', passed value: '$WorkingDir'. Either the path is a File or Non-Existing/Invlid, please double check your code." + throw "[Invoke-Preprocessing] Invalid Parameter Value for 'WorkingDir', passed value: '$WorkingDir'. Either the path is a File or Non-Existing/Invlid, please double check your code." } $InternalExcludedFiles = [System.Collections.Generic.List[string]]::new($ExcludedFiles.Count) diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index 25ac88e1..295df951 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -1350,7 +1350,7 @@ HorizontalAlignment="Stretch"> - + Choose a Windows ISO file that you've downloaded Check the status in the console