mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-27 16:44:46 -05:00
Result of Preprocessing Step in 'Compile.ps1' Script - Remove Trailing Whitespace Characters
This commit is contained in:
@ -45,4 +45,4 @@ function Copy-Files {
|
||||
Write-Warning "Unable to Copy all the files due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,4 +31,4 @@ function Get-LocalizedYesNo {
|
||||
# Return the array of characters
|
||||
return $charactersArray
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -21,4 +21,4 @@ function Get-WinUtilInstallerProcess {
|
||||
return $true
|
||||
}
|
||||
return $false
|
||||
}
|
||||
}
|
||||
|
@ -31,4 +31,4 @@ function Invoke-WinUtilBingSearch {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,4 +33,4 @@ Function Invoke-WinUtilDarkMode {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,4 +18,4 @@ function Invoke-WinUtilGPU {
|
||||
}
|
||||
}
|
||||
return $true
|
||||
}
|
||||
}
|
||||
|
@ -39,4 +39,4 @@ Function Invoke-WinUtilMouseAcceleration {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,4 +29,4 @@ function Invoke-WinUtilNumLock {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -46,4 +46,4 @@ function Invoke-WinUtilScript {
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -28,4 +28,4 @@ function Invoke-WinUtilShowExt {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,4 +31,4 @@ function Invoke-WinUtilSnapFlyout {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,4 +31,4 @@ function Invoke-WinUtilSnapSuggestion {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,4 +28,4 @@ function Invoke-WinUtilSnapWindow {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,4 +42,4 @@ Function Invoke-WinUtilSponsors {
|
||||
Write-Error "An error occurred while fetching or processing the sponsors: $_"
|
||||
return $null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,4 +28,4 @@ Function Invoke-WinUtilStickyKeys {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,4 +28,4 @@ function Invoke-WinUtilVerboseLogon {
|
||||
Write-Warning "Unable to set $Name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,4 +33,4 @@ function Remove-WinUtilAPPX {
|
||||
Write-Warning "Unable to uninstall $name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,4 +32,4 @@ function Set-WinUtilDNS {
|
||||
Write-Warning "Unable to set DNS Provider due to an unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,4 +42,4 @@ function Set-WinUtilScheduledTask {
|
||||
Write-Warning "Unable to run script for $name due to unhandled exception"
|
||||
Write-Warning $psitem.Exception.StackTrace
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -83,4 +83,4 @@ function Set-WinUtilTaskbaritem {
|
||||
if ($description) {
|
||||
$sync["Form"].taskbarItemInfo.Description = $description
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,4 +18,4 @@ Function Update-WinUtilProgramWinget {
|
||||
|
||||
$global:WinGetInstall = Start-Process -Verb runas powershell -ArgumentList "-command invoke-command -scriptblock {$wingetinstall} -argumentlist '$($ProgramsToInstall -join ",")'" -PassThru
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -55,4 +55,4 @@ function Invoke-WPFButton {
|
||||
"WPFCloseButton" {Invoke-WPFCloseButton}
|
||||
"MicrowinScratchDirBT" {Invoke-ScratchDialog}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,4 +9,4 @@ function Invoke-WPFCloseButton {
|
||||
#>
|
||||
$sync["Form"].Close()
|
||||
Write-Host "Bye bye!"
|
||||
}
|
||||
}
|
||||
|
@ -19,4 +19,4 @@ function Invoke-WPFControlPanel {
|
||||
"WPFPanelsystem" {cmd /c sysdm.cpl}
|
||||
"WPFPaneluser" {cmd /c "control userpasswords2"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,4 +33,4 @@ function Invoke-WPFFeatureInstall {
|
||||
Write-Host "--- A Reboot may be required ---"
|
||||
Write-Host "==================================="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -26,4 +26,4 @@ function Invoke-WPFFixesNetwork {
|
||||
Write-Host "=========================================="
|
||||
Write-Host "-- Network Configuration has been Reset --"
|
||||
Write-Host "=========================================="
|
||||
}
|
||||
}
|
||||
|
@ -289,4 +289,4 @@ function Invoke-WPFFixesUpdate {
|
||||
Write-Progress -Id 8 -Activity "Deleting BITS jobs" -Completed
|
||||
Write-Progress -Id 9 -Activity "Starting Windows Update Services" -Completed
|
||||
Write-Progress -Id 10 -Activity "Forcing discovery" -Completed
|
||||
}
|
||||
}
|
||||
|
@ -11,4 +11,4 @@ function Invoke-WPFFixesWinget {
|
||||
Install-WinUtilChoco
|
||||
Start-Process -FilePath "choco" -ArgumentList "install winget -y --force" -NoNewWindow -Wait
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -502,4 +502,4 @@ public class PowerManagement {
|
||||
[PowerManagement]::SetThreadExecutionState(0)
|
||||
$sync.ProcessRunning = $false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -17,4 +17,4 @@ function Invoke-WPFOOSU {
|
||||
finally {
|
||||
$ProgressPreference = $Initial_ProgressPreference
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -27,4 +27,4 @@ function Invoke-WPFPanelDISM {
|
||||
Write-Host '`n(3/4) DISM' -ForegroundColor Green; DISM /Online /Cleanup-Image /Restorehealth;
|
||||
Write-Host '`n(4/4) SFC - 2nd scan' -ForegroundColor Green; sfc /scannow;
|
||||
Read-Host '`nPress Enter to Continue'" -verb runas
|
||||
}
|
||||
}
|
||||
|
@ -46,4 +46,4 @@ function Invoke-WPFRunspace {
|
||||
$sync.runspace.Close()
|
||||
[System.GC]::Collect()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -50,4 +50,4 @@ Function Invoke-WPFUltimatePerformance {
|
||||
} Catch{
|
||||
Write-Warning $psitem.Exception.Message
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,4 +42,4 @@ function Invoke-WPFUpdatesdefault {
|
||||
Write-Host "==================================================="
|
||||
Write-Host "--- Windows Update Settings Reset to Default ---"
|
||||
Write-Host "==================================================="
|
||||
}
|
||||
}
|
||||
|
@ -32,4 +32,4 @@ function Invoke-WPFUpdatesdisable {
|
||||
Write-Host "================================="
|
||||
Write-Host "--- Updates ARE DISABLED ---"
|
||||
Write-Host "================================="
|
||||
}
|
||||
}
|
||||
|
@ -50,4 +50,4 @@ function Invoke-WPFUpdatessecurity {
|
||||
Write-Host "================================="
|
||||
Write-Host "-- Updates Set to Recommended ---"
|
||||
Write-Host "================================="
|
||||
}
|
||||
}
|
||||
|
@ -56,4 +56,4 @@ function Invoke-WPFtweaksbutton {
|
||||
# $MessageIcon = [System.Windows.MessageBoxImage]::Information
|
||||
# [System.Windows.MessageBox]::Show($Messageboxbody, $MessageboxTitle, $ButtonType, $MessageIcon)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -202,4 +202,4 @@ function Invoke-WPFundoall {
|
||||
Write-Host "--- Undo All is Finished ---"
|
||||
Write-Host "================================="
|
||||
#>
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user