Skip to content

Commit

Permalink
Result of Preprocessing Step in 'Compile.ps1' Script - Remove Trailin…
Browse files Browse the repository at this point in the history
…g Whitespace Characters
  • Loading branch information
og-mrk committed Jul 26, 2024
1 parent 1d6d0d6 commit b5dffd6
Show file tree
Hide file tree
Showing 55 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@
# directory in the root of your repository except for the `/apps/github`
# subdirectory, as its owners are left empty.
# /apps/ @octocat
# /apps/github
# /apps/github
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ updates:
interval: "weekly"
ignore:
- dependency-name: "actions/stale"
versions: '>= 9'
versions: '>= 9'
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: GitHub Pages Deploy
on:
release:
types: [published, prereleased]
workflow_dispatch:
workflow_dispatch:
permissions:
contents: write
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-slash-commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
ISSUE_NUMBER: ${{ github.event.issue.number }}
run: |
echo Closing the issue...
gh issue close $ISSUE_NUMBER --repo ${{ github.repository }}
gh issue close $ISSUE_NUMBER --repo ${{ github.repository }}
2 changes: 1 addition & 1 deletion .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main
folder: '.'
folder: '.'
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
shell: pwsh
env:
TEMP: ${{ runner.temp }}
TEMP: ${{ runner.temp }}
2 changes: 1 addition & 1 deletion config/dns.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
"Primary6": "2a10:50c0::bad1:ff",
"Secondary6": "2a10:50c0::bad2:ff"
}
}
}
2 changes: 1 addition & 1 deletion docs/KnownIssues.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@ Get-Service -Name "XboxGipSvc" | Set-Service -StartupType Automatic
7. **ISO File Integrity:**
Ensure that the ISO file you are trying to mount is uncorrupted. Try mounting a different ISO file to see if the issue persists.

* If the problem persists after trying these steps, additional troubleshooting is required. Consider seeking assistance from Microsoft support or community forums for more specific guidance based on your system configuration and the software you use to mount the ISO.
* If the problem persists after trying these steps, additional troubleshooting is required. Consider seeking assistance from Microsoft support or community forums for more specific guidance based on your system configuration and the software you use to mount the ISO.
26 changes: 13 additions & 13 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ WinUtil change log received from GitHub Releases, it's autogenerated using GitHu

# Release 24.06.11

This release is an auto generated release.
This release is an auto generated release.

From now on any pull request on the main branch generates a release like this, which ensures you can rewind in time to ANY version of winutil. Also this makes it easy to launch winutil from github.com instead of using raw GitHub which is blocked in some countries. Big shoutout to KonTy for the auto release idea!

Expand Down Expand Up @@ -159,17 +159,17 @@ This was a massive 100+ commit PR and the last of it's size. Going forward I wil

# WinUtil 2024.04.20 Bug Fixes and Issue Fixes

- Toggle Widgets fix @og-mrk
- Fix Special Characters causing errors in JSON files @og-mrk
- Restart explorer on classic right click tweak @og-mrk
- Fix Disable Storage Sense @og-mrk
- Robocopy fix when username has space in during OneDrive uninstall @og-mrk
- Multiple Winget Fixes made by @ruxunderscore
- Fix DISM Conversion for ESD files @CodingWonders
- Independent Edge Removal Update by @DaEpicR
- Toggle Widgets fix @og-mrk
- Fix Special Characters causing errors in JSON files @og-mrk
- Restart explorer on classic right click tweak @og-mrk
- Fix Disable Storage Sense @og-mrk
- Robocopy fix when username has space in during OneDrive uninstall @og-mrk
- Multiple Winget Fixes made by @ruxunderscore
- Fix DISM Conversion for ESD files @CodingWonders
- Independent Edge Removal Update by @DaEpicR
- Disable SCOOBE @ICTdE
- O&O Tweaks update by @Marterich
- Bugfix for Window Restore Creation by @ChrisTitusTech
- Fix Winget Installs for Default -> User Scope -> Unelevated if one fails it trys the next method. @ChrisTitusTech
- Fix Unit Tests for Functions @ChrisTitusTech
- O&O Tweaks update by @Marterich
- Bugfix for Window Restore Creation by @ChrisTitusTech
- Fix Winget Installs for Default -> User Scope -> Unelevated if one fails it trys the next method. @ChrisTitusTech
- Fix Unit Tests for Functions @ChrisTitusTech

4 changes: 2 additions & 2 deletions docs/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
```ps1
irm christitus.com/windev | iex
```
   

!!! bug "Keep in mind"

This is a pre-release and should be treated as such. It exists for developers to test the utility and report or fix bugs before they get added to the stable release. Don't use it in production!
Expand Down Expand Up @@ -103,4 +103,4 @@ graph LR
### Making a PR
* To make a PR on your repo under a new branch linking to the main branch, a button will show and say Preview and Create pull request. Click that button and fill in all the information that is provided on the template. Once all the information is filled in correctly, check your PR to make sure there is not a WinUtil.ps1 file attached to the PR. Once everything is good, make the PR and wait for Chris (the maintainer) to accept or deny your PR. Once it is accepted by Chris, you will be able to see your changes in the "/windev" build.
* If you do not see your feature in the main "/win" build, that is fine. All new changes go into the /windev build to make sure everything is working OK before going fully public.
* Congratulations! You just submitted your first PR. Thank you so much for contributing to WinUtil.
* Congratulations! You just submitted your first PR. Thank you so much for contributing to WinUtil.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Welcome to the official documentation for WinUtil, your go-to utility for optimi

!!! info

WinUtil is updated weekly as of the time of writing. Consequently, features and functionalities may evolve, and the documentation may not always reflect the most current images or information.
WinUtil is updated weekly as of the time of writing. Consequently, features and functionalities may evolve, and the documentation may not always reflect the most current images or information.
2 changes: 1 addition & 1 deletion edgeremoval.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,4 @@ function Remove-MicrosoftEdge {
}

# Execute the main function
Remove-MicrosoftEdge
Remove-MicrosoftEdge
2 changes: 1 addition & 1 deletion functions/private/Copy-Files.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ function Copy-Files {
Write-Warning "Unable to Copy all the files due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Get-LocalizedYesNo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ function Get-LocalizedYesNo {
# Return the array of characters
return $charactersArray

}
}
2 changes: 1 addition & 1 deletion functions/private/Get-WinUtilInstallerProcess.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ function Get-WinUtilInstallerProcess {
return $true
}
return $false
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilBingSearch.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ function Invoke-WinUtilBingSearch {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilDarkMode.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Function Invoke-WinUtilDarkMode {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilGPU.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ function Invoke-WinUtilGPU {
}
}
return $true
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilMouseAcceleration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Function Invoke-WinUtilMouseAcceleration {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilNumLock.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ function Invoke-WinUtilNumLock {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ function Invoke-WinUtilScript {
Write-Warning $psitem.Exception.StackTrace
}

}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilShowExt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ function Invoke-WinUtilShowExt {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilSnapFlyout.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ function Invoke-WinUtilSnapFlyout {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilSnapSuggestion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ function Invoke-WinUtilSnapSuggestion {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilSnapWindow.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ function Invoke-WinUtilSnapWindow {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilSponsors.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ Function Invoke-WinUtilSponsors {
Write-Error "An error occurred while fetching or processing the sponsors: $_"
return $null
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilStickyKeys.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ Function Invoke-WinUtilStickyKeys {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Invoke-WinUtilVerboseLogon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ function Invoke-WinUtilVerboseLogon {
Write-Warning "Unable to set $Name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Remove-WinUtilAPPX.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ function Remove-WinUtilAPPX {
Write-Warning "Unable to uninstall $name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilDNS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ function Set-WinUtilDNS {
Write-Warning "Unable to set DNS Provider due to an unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilScheduledTask.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ function Set-WinUtilScheduledTask {
Write-Warning "Unable to run script for $name due to unhandled exception"
Write-Warning $psitem.Exception.StackTrace
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Set-WinUtilTaskbarItem.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ function Set-WinUtilTaskbaritem {
if ($description) {
$sync["Form"].taskbarItemInfo.Description = $description
}
}
}
2 changes: 1 addition & 1 deletion functions/private/Update-WinUtilProgramWinget.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Function Update-WinUtilProgramWinget {

$global:WinGetInstall = Start-Process -Verb runas powershell -ArgumentList "-command invoke-command -scriptblock {$wingetinstall} -argumentlist '$($ProgramsToInstall -join ",")'" -PassThru

}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFButton.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ function Invoke-WPFButton {
"WPFCloseButton" {Invoke-WPFCloseButton}
"MicrowinScratchDirBT" {Invoke-ScratchDialog}
}
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFCloseButton.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ function Invoke-WPFCloseButton {
#>
$sync["Form"].Close()
Write-Host "Bye bye!"
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFControlPanel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ function Invoke-WPFControlPanel {
"WPFPanelsystem" {cmd /c sysdm.cpl}
"WPFPaneluser" {cmd /c "control userpasswords2"}
}
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFFeatureInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ function Invoke-WPFFeatureInstall {
Write-Host "--- A Reboot may be required ---"
Write-Host "==================================="
}
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFFixesNetwork.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ function Invoke-WPFFixesNetwork {
Write-Host "=========================================="
Write-Host "-- Network Configuration has been Reset --"
Write-Host "=========================================="
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFFixesUpdate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFFixesWinget.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ function Invoke-WPFFixesWinget {
Install-WinUtilChoco
Start-Process -FilePath "choco" -ArgumentList "install winget -y --force" -NoNewWindow -Wait

}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFMicrowin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -502,4 +502,4 @@ public class PowerManagement {
[PowerManagement]::SetThreadExecutionState(0)
$sync.ProcessRunning = $false
}
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFOOSU.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ function Invoke-WPFOOSU {
finally {
$ProgressPreference = $Initial_ProgressPreference
}
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFPanelDISM.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFRunspace.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ function Invoke-WPFRunspace {
$sync.runspace.Close()
[System.GC]::Collect()
}
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFUltimatePerformance.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Function Invoke-WPFUltimatePerformance {
} Catch{
Write-Warning $psitem.Exception.Message
}
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFUpdatesdefault.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ function Invoke-WPFUpdatesdefault {
Write-Host "==================================================="
Write-Host "--- Windows Update Settings Reset to Default ---"
Write-Host "==================================================="
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFUpdatesdisable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ function Invoke-WPFUpdatesdisable {
Write-Host "================================="
Write-Host "--- Updates ARE DISABLED ---"
Write-Host "================================="
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFUpdatessecurity.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ function Invoke-WPFUpdatessecurity {
Write-Host "================================="
Write-Host "-- Updates Set to Recommended ---"
Write-Host "================================="
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFtweaksbutton.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ function Invoke-WPFtweaksbutton {
# $MessageIcon = [System.Windows.MessageBoxImage]::Information
# [System.Windows.MessageBox]::Show($Messageboxbody, $MessageboxTitle, $ButtonType, $MessageIcon)
}
}
}
2 changes: 1 addition & 1 deletion functions/public/Invoke-WPFundoall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@ function Invoke-WPFundoall {
Write-Host "--- Undo All is Finished ---"
Write-Host "================================="
#>
}
}
2 changes: 1 addition & 1 deletion gpedit-home.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Get-ChildItem @(
"$env:SystemRoot\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package*.mum",
"$env:SystemRoot\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package*.mum"
) | ForEach-Object { dism.exe /online /norestart /add-package:"$_" }
) | ForEach-Object { dism.exe /online /norestart /add-package:"$_" }
Loading

0 comments on commit b5dffd6

Please sign in to comment.