diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 01b9a9f6..603739f5 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 - + - name: Extract Version from winutil.ps1 id: extract_version run: | diff --git a/Compile.ps1 b/Compile.ps1 index 84217b37..9b3e48d4 100644 --- a/Compile.ps1 +++ b/Compile.ps1 @@ -109,5 +109,5 @@ if ($run){ catch { Start-Process -FilePath "powershell" -ArgumentList ".\$scriptname" } - + } diff --git a/README.md b/README.md index d384c793..6a113e55 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Version](https://img.shields.io/github/v/release/ChrisTitusTech/winutil?color=7a39fb)](https://github.com/ChrisTitusTech/winutil/releases/latest) -This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient. +This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient. ![screen-install](screen-install.png) diff --git a/config/applications.json b/config/applications.json index 4cf52bee..bc0f541e 100644 --- a/config/applications.json +++ b/config/applications.json @@ -2863,7 +2863,7 @@ "link": "https://joytokey.net/en/", "winget": "JTKsoftware.JoyToKey" }, - + "WPFInstallnditools": { "category": "Multimedia Tools", "choco": "na", diff --git a/config/tweaks.json b/config/tweaks.json index cac0fcac..637aa9dc 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2457,7 +2457,7 @@ "panel": "1", "Order": "a030_", "InvokeScript": [ - " + " $OneDrivePath = $($env:OneDrive) Write-Host \"Removing OneDrive\" $regPath = \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OneDriveSetup.exe\" @@ -2473,7 +2473,7 @@ # Check if OneDrive got Uninstalled if (-not (Test-Path $regPath)){ Write-Host \"Copy downloaded Files from the OneDrive Folder to Root UserProfile\" - Start-Process -FilePath powershell -ArgumentList \"robocopy '$($OneDrivePath)' '$($env:USERPROFILE.TrimEnd())\\' /mov /e /xj\" -NoNewWindow -Wait + Start-Process -FilePath powershell -ArgumentList \"robocopy '$($OneDrivePath)' '$($env:USERPROFILE.TrimEnd())\\' /mov /e /xj\" -NoNewWindow -Wait Write-Host \"Removing OneDrive leftovers\" Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:localappdata\\Microsoft\\OneDrive\" diff --git a/functions/private/Invoke-MicroWin-Helper.ps1 b/functions/private/Invoke-MicroWin-Helper.ps1 index eff64d90..a7012ecd 100644 --- a/functions/private/Invoke-MicroWin-Helper.ps1 +++ b/functions/private/Invoke-MicroWin-Helper.ps1 @@ -165,7 +165,7 @@ function Remove-ProvisionedPackages([switch] $keepSecurity = $false) catch { Write-Host "Application $($appx.PackageName) could not be removed" continue - } + } } Write-Progress -Activity "Removing Provisioned Apps" -Status "Ready" -Completed } diff --git a/functions/private/Show-CustomDialog.ps1 b/functions/private/Show-CustomDialog.ps1 index 329a024c..594d9019 100644 --- a/functions/private/Show-CustomDialog.ps1 +++ b/functions/private/Show-CustomDialog.ps1 @@ -215,7 +215,7 @@ $cttLogoPath = @" param($sender, $args) $sender.Foreground = $foregroundColor }) - + $messageTextBlock.Inlines.Add($hyperlink) # Update the last position diff --git a/functions/public/Invoke-WPFOOSU.ps1 b/functions/public/Invoke-WPFOOSU.ps1 index c47b04bf..4d61c83f 100644 --- a/functions/public/Invoke-WPFOOSU.ps1 +++ b/functions/public/Invoke-WPFOOSU.ps1 @@ -9,12 +9,12 @@ function Invoke-WPFOOSU { $ProgressPreference = "SilentlyContinue" # Disables the Progress Bar to drasticly speed up Invoke-WebRequest Invoke-WebRequest -Uri "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -OutFile $OOSU_filepath Write-Host "Starting OO Shutup 10 ..." - Start-Process $OOSU_filepath + Start-Process $OOSU_filepath } catch { Write-Host "Error Downloading and Running OO Shutup 10" -ForegroundColor Red } finally { $ProgressPreference = $Initial_ProgressPreference - } + } } \ No newline at end of file diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 8cc68b5b..6b34ce35 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -143,7 +143,7 @@ Invoke-WPFRunspace -ScriptBlock { finally{ $ProgressPreference = "Continue" } - + } | Out-Null #=========================================================================== diff --git a/windev.ps1 b/windev.ps1 index 9440f8f4..986bf52c 100644 --- a/windev.ps1 +++ b/windev.ps1 @@ -7,7 +7,7 @@ This function should be run with administrative privileges. Because this way of recursively invoking scripts via Invoke-Expression it might very well happen that AV Programs flag this because it's a common way of mulitstage exploits to run .EXAMPLE - irm https://christitus.com/windev | iex + irm https://christitus.com/windev | iex OR Run in Admin Powershell > ./windev.ps1 #> diff --git a/xaml/inputXML.xaml b/xaml/inputXML.xaml index aa1985c1..0132d2bf 100644 --- a/xaml/inputXML.xaml +++ b/xaml/inputXML.xaml @@ -718,7 +718,7 @@