From 2732b271efcf16bd5c51b52adbf077db3011db3d Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Fri, 26 Jul 2024 05:41:35 +0300 Subject: [PATCH] Revert commit b5dffd671ff4f870026e4d384f393c0491692ab7 --- .github/CODEOWNERS | 2 +- .github/workflows/github-pages.yml | 2 +- .github/workflows/issue-slash-commands.yaml | 2 +- .github/workflows/sponsors.yml | 2 +- .github/workflows/unittests.yaml | 2 +- config/dns.json | 2 +- docs/KnownIssues.md | 2 +- docs/changelog.md | 26 +++++++++---------- docs/contribute.md | 4 +-- docs/index.md | 2 +- edgeremoval.ps1 | 2 +- functions/private/Copy-Files.ps1 | 2 +- functions/private/Get-LocalizedYesNo.ps1 | 2 +- .../private/Get-WinUtilInstallerProcess.ps1 | 2 +- .../private/Invoke-WinUtilBingSearch.ps1 | 2 +- functions/private/Invoke-WinUtilDarkMode.ps1 | 2 +- functions/private/Invoke-WinUtilGPU.ps1 | 2 +- .../Invoke-WinUtilMouseAcceleration.ps1 | 2 +- functions/private/Invoke-WinUtilNumLock.ps1 | 2 +- functions/private/Invoke-WinUtilScript.ps1 | 2 +- functions/private/Invoke-WinUtilShowExt.ps1 | 2 +- .../private/Invoke-WinUtilSnapFlyout.ps1 | 2 +- .../private/Invoke-WinUtilSnapSuggestion.ps1 | 2 +- .../private/Invoke-WinUtilSnapWindow.ps1 | 2 +- functions/private/Invoke-WinUtilSponsors.ps1 | 2 +- .../private/Invoke-WinUtilStickyKeys.ps1 | 2 +- .../private/Invoke-WinUtilVerboseLogon.ps1 | 2 +- functions/private/Remove-WinUtilAPPX.ps1 | 2 +- functions/private/Set-WinUtilDNS.ps1 | 2 +- .../private/Set-WinUtilScheduledTask.ps1 | 2 +- functions/private/Set-WinUtilTaskbarItem.ps1 | 2 +- .../private/Update-WinUtilProgramWinget.ps1 | 2 +- functions/public/Invoke-WPFButton.ps1 | 2 +- functions/public/Invoke-WPFCloseButton.ps1 | 2 +- functions/public/Invoke-WPFControlPanel.ps1 | 2 +- functions/public/Invoke-WPFFeatureInstall.ps1 | 2 +- functions/public/Invoke-WPFFixesNetwork.ps1 | 2 +- functions/public/Invoke-WPFFixesUpdate.ps1 | 2 +- functions/public/Invoke-WPFFixesWinget.ps1 | 2 +- functions/public/Invoke-WPFMicrowin.ps1 | 2 +- functions/public/Invoke-WPFOOSU.ps1 | 2 +- functions/public/Invoke-WPFPanelDISM.ps1 | 2 +- functions/public/Invoke-WPFRunspace.ps1 | 2 +- .../public/Invoke-WPFUltimatePerformance.ps1 | 2 +- functions/public/Invoke-WPFUpdatesdefault.ps1 | 2 +- functions/public/Invoke-WPFUpdatesdisable.ps1 | 2 +- .../public/Invoke-WPFUpdatessecurity.ps1 | 2 +- functions/public/Invoke-WPFtweaksbutton.ps1 | 2 +- functions/public/Invoke-WPFundoall.ps1 | 2 +- gpedit-home.ps1 | 2 +- lint/PSScriptAnalyser.ps1 | 2 +- mkdocs.yml | 2 +- overrides/main.html | 2 +- pester/configs.Tests.ps1 | 2 +- 54 files changed, 67 insertions(+), 67 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5ea75587..2a267c93 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 \ No newline at end of file diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 7737726e..486d1ed9 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -2,7 +2,7 @@ name: GitHub Pages Deploy on: release: types: [published, prereleased] - workflow_dispatch: + workflow_dispatch: permissions: contents: write jobs: diff --git a/.github/workflows/issue-slash-commands.yaml b/.github/workflows/issue-slash-commands.yaml index ff23c3ab..a83b432c 100644 --- a/.github/workflows/issue-slash-commands.yaml +++ b/.github/workflows/issue-slash-commands.yaml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml index a3516e75..6a0e22b0 100644 --- a/.github/workflows/sponsors.yml +++ b/.github/workflows/sponsors.yml @@ -22,4 +22,4 @@ jobs: uses: JamesIves/github-pages-deploy-action@v4 with: branch: main - folder: '.' + folder: '.' \ No newline at end of file diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 5e1f2b0f..02879545 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -37,4 +37,4 @@ jobs: shell: pwsh env: - TEMP: ${{ runner.temp }} + TEMP: ${{ runner.temp }} \ No newline at end of file diff --git a/config/dns.json b/config/dns.json index 6c2ffbbd..8f5ca14c 100644 --- a/config/dns.json +++ b/config/dns.json @@ -47,4 +47,4 @@ "Primary6": "2a10:50c0::bad1:ff", "Secondary6": "2a10:50c0::bad2:ff" } -} +} \ No newline at end of file diff --git a/docs/KnownIssues.md b/docs/KnownIssues.md index 0e834676..b95a0d68 100644 --- a/docs/KnownIssues.md +++ b/docs/KnownIssues.md @@ -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. \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 6c4d321c..498aee89 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -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! @@ -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 diff --git a/docs/contribute.md b/docs/contribute.md index fe177676..f76b5ab7 100644 --- a/docs/contribute.md +++ b/docs/contribute.md @@ -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! @@ -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. \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index c3c94e06..24e21ab1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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. \ No newline at end of file diff --git a/edgeremoval.ps1 b/edgeremoval.ps1 index 516ac225..5f3a7a3c 100644 --- a/edgeremoval.ps1 +++ b/edgeremoval.ps1 @@ -250,4 +250,4 @@ function Remove-MicrosoftEdge { } # Execute the main function -Remove-MicrosoftEdge +Remove-MicrosoftEdge \ No newline at end of file diff --git a/functions/private/Copy-Files.ps1 b/functions/private/Copy-Files.ps1 index 29b12ed5..447df38c 100644 --- a/functions/private/Copy-Files.ps1 +++ b/functions/private/Copy-Files.ps1 @@ -45,4 +45,4 @@ function Copy-Files { Write-Warning "Unable to Copy all the files due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Get-LocalizedYesNo.ps1 b/functions/private/Get-LocalizedYesNo.ps1 index 0c8e9390..227bf8dd 100644 --- a/functions/private/Get-LocalizedYesNo.ps1 +++ b/functions/private/Get-LocalizedYesNo.ps1 @@ -31,4 +31,4 @@ function Get-LocalizedYesNo { # Return the array of characters return $charactersArray - } + } \ No newline at end of file diff --git a/functions/private/Get-WinUtilInstallerProcess.ps1 b/functions/private/Get-WinUtilInstallerProcess.ps1 index 0030187b..eae26476 100644 --- a/functions/private/Get-WinUtilInstallerProcess.ps1 +++ b/functions/private/Get-WinUtilInstallerProcess.ps1 @@ -21,4 +21,4 @@ function Get-WinUtilInstallerProcess { return $true } return $false -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilBingSearch.ps1 b/functions/private/Invoke-WinUtilBingSearch.ps1 index ae2101ce..21574b68 100644 --- a/functions/private/Invoke-WinUtilBingSearch.ps1 +++ b/functions/private/Invoke-WinUtilBingSearch.ps1 @@ -31,4 +31,4 @@ function Invoke-WinUtilBingSearch { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilDarkMode.ps1 b/functions/private/Invoke-WinUtilDarkMode.ps1 index 92fef377..590da6eb 100644 --- a/functions/private/Invoke-WinUtilDarkMode.ps1 +++ b/functions/private/Invoke-WinUtilDarkMode.ps1 @@ -33,4 +33,4 @@ Function Invoke-WinUtilDarkMode { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilGPU.ps1 b/functions/private/Invoke-WinUtilGPU.ps1 index bab49f4a..13e4fb76 100644 --- a/functions/private/Invoke-WinUtilGPU.ps1 +++ b/functions/private/Invoke-WinUtilGPU.ps1 @@ -18,4 +18,4 @@ function Invoke-WinUtilGPU { } } return $true -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilMouseAcceleration.ps1 b/functions/private/Invoke-WinUtilMouseAcceleration.ps1 index 7ddc0f96..34375170 100644 --- a/functions/private/Invoke-WinUtilMouseAcceleration.ps1 +++ b/functions/private/Invoke-WinUtilMouseAcceleration.ps1 @@ -39,4 +39,4 @@ Function Invoke-WinUtilMouseAcceleration { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilNumLock.ps1 b/functions/private/Invoke-WinUtilNumLock.ps1 index 5b7168e5..97b36a94 100644 --- a/functions/private/Invoke-WinUtilNumLock.ps1 +++ b/functions/private/Invoke-WinUtilNumLock.ps1 @@ -29,4 +29,4 @@ function Invoke-WinUtilNumLock { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilScript.ps1 b/functions/private/Invoke-WinUtilScript.ps1 index 34577115..4059f917 100644 --- a/functions/private/Invoke-WinUtilScript.ps1 +++ b/functions/private/Invoke-WinUtilScript.ps1 @@ -46,4 +46,4 @@ function Invoke-WinUtilScript { Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilShowExt.ps1 b/functions/private/Invoke-WinUtilShowExt.ps1 index 11db3939..0b5dee6e 100644 --- a/functions/private/Invoke-WinUtilShowExt.ps1 +++ b/functions/private/Invoke-WinUtilShowExt.ps1 @@ -28,4 +28,4 @@ function Invoke-WinUtilShowExt { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilSnapFlyout.ps1 b/functions/private/Invoke-WinUtilSnapFlyout.ps1 index f18e64f7..fb317ec9 100644 --- a/functions/private/Invoke-WinUtilSnapFlyout.ps1 +++ b/functions/private/Invoke-WinUtilSnapFlyout.ps1 @@ -31,4 +31,4 @@ function Invoke-WinUtilSnapFlyout { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilSnapSuggestion.ps1 b/functions/private/Invoke-WinUtilSnapSuggestion.ps1 index 9bcf8eb0..6fd35a14 100644 --- a/functions/private/Invoke-WinUtilSnapSuggestion.ps1 +++ b/functions/private/Invoke-WinUtilSnapSuggestion.ps1 @@ -31,4 +31,4 @@ function Invoke-WinUtilSnapSuggestion { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilSnapWindow.ps1 b/functions/private/Invoke-WinUtilSnapWindow.ps1 index 616eee0a..a52950d4 100644 --- a/functions/private/Invoke-WinUtilSnapWindow.ps1 +++ b/functions/private/Invoke-WinUtilSnapWindow.ps1 @@ -28,4 +28,4 @@ function Invoke-WinUtilSnapWindow { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilSponsors.ps1 b/functions/private/Invoke-WinUtilSponsors.ps1 index 3c46f8d3..cf75dc27 100644 --- a/functions/private/Invoke-WinUtilSponsors.ps1 +++ b/functions/private/Invoke-WinUtilSponsors.ps1 @@ -42,4 +42,4 @@ Function Invoke-WinUtilSponsors { Write-Error "An error occurred while fetching or processing the sponsors: $_" return $null } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilStickyKeys.ps1 b/functions/private/Invoke-WinUtilStickyKeys.ps1 index f3ba516d..69689f9f 100644 --- a/functions/private/Invoke-WinUtilStickyKeys.ps1 +++ b/functions/private/Invoke-WinUtilStickyKeys.ps1 @@ -28,4 +28,4 @@ Function Invoke-WinUtilStickyKeys { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Invoke-WinUtilVerboseLogon.ps1 b/functions/private/Invoke-WinUtilVerboseLogon.ps1 index ad74f1c9..997050f9 100644 --- a/functions/private/Invoke-WinUtilVerboseLogon.ps1 +++ b/functions/private/Invoke-WinUtilVerboseLogon.ps1 @@ -28,4 +28,4 @@ function Invoke-WinUtilVerboseLogon { Write-Warning "Unable to set $Name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Remove-WinUtilAPPX.ps1 b/functions/private/Remove-WinUtilAPPX.ps1 index 1f4a3d6a..e54a3475 100644 --- a/functions/private/Remove-WinUtilAPPX.ps1 +++ b/functions/private/Remove-WinUtilAPPX.ps1 @@ -33,4 +33,4 @@ function Remove-WinUtilAPPX { Write-Warning "Unable to uninstall $name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Set-WinUtilDNS.ps1 b/functions/private/Set-WinUtilDNS.ps1 index 73d6c27c..0810e6d2 100644 --- a/functions/private/Set-WinUtilDNS.ps1 +++ b/functions/private/Set-WinUtilDNS.ps1 @@ -32,4 +32,4 @@ function Set-WinUtilDNS { Write-Warning "Unable to set DNS Provider due to an unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Set-WinUtilScheduledTask.ps1 b/functions/private/Set-WinUtilScheduledTask.ps1 index 72888371..453f7793 100644 --- a/functions/private/Set-WinUtilScheduledTask.ps1 +++ b/functions/private/Set-WinUtilScheduledTask.ps1 @@ -42,4 +42,4 @@ function Set-WinUtilScheduledTask { Write-Warning "Unable to run script for $name due to unhandled exception" Write-Warning $psitem.Exception.StackTrace } -} +} \ No newline at end of file diff --git a/functions/private/Set-WinUtilTaskbarItem.ps1 b/functions/private/Set-WinUtilTaskbarItem.ps1 index 465ca4c3..7f290fac 100644 --- a/functions/private/Set-WinUtilTaskbarItem.ps1 +++ b/functions/private/Set-WinUtilTaskbarItem.ps1 @@ -83,4 +83,4 @@ function Set-WinUtilTaskbaritem { if ($description) { $sync["Form"].taskbarItemInfo.Description = $description } -} +} \ No newline at end of file diff --git a/functions/private/Update-WinUtilProgramWinget.ps1 b/functions/private/Update-WinUtilProgramWinget.ps1 index 0784657d..6fac6741 100644 --- a/functions/private/Update-WinUtilProgramWinget.ps1 +++ b/functions/private/Update-WinUtilProgramWinget.ps1 @@ -18,4 +18,4 @@ Function Update-WinUtilProgramWinget { $global:WinGetInstall = Start-Process -Verb runas powershell -ArgumentList "-command invoke-command -scriptblock {$wingetinstall} -argumentlist '$($ProgramsToInstall -join ",")'" -PassThru -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFButton.ps1 b/functions/public/Invoke-WPFButton.ps1 index 729b9239..b2ed9c12 100644 --- a/functions/public/Invoke-WPFButton.ps1 +++ b/functions/public/Invoke-WPFButton.ps1 @@ -55,4 +55,4 @@ function Invoke-WPFButton { "WPFCloseButton" {Invoke-WPFCloseButton} "MicrowinScratchDirBT" {Invoke-ScratchDialog} } -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFCloseButton.ps1 b/functions/public/Invoke-WPFCloseButton.ps1 index 5ffff15a..8a784fc0 100644 --- a/functions/public/Invoke-WPFCloseButton.ps1 +++ b/functions/public/Invoke-WPFCloseButton.ps1 @@ -9,4 +9,4 @@ function Invoke-WPFCloseButton { #> $sync["Form"].Close() Write-Host "Bye bye!" -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFControlPanel.ps1 b/functions/public/Invoke-WPFControlPanel.ps1 index fab6c238..f5574a11 100644 --- a/functions/public/Invoke-WPFControlPanel.ps1 +++ b/functions/public/Invoke-WPFControlPanel.ps1 @@ -19,4 +19,4 @@ function Invoke-WPFControlPanel { "WPFPanelsystem" {cmd /c sysdm.cpl} "WPFPaneluser" {cmd /c "control userpasswords2"} } -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFFeatureInstall.ps1 b/functions/public/Invoke-WPFFeatureInstall.ps1 index dfd0872e..57cbc38e 100644 --- a/functions/public/Invoke-WPFFeatureInstall.ps1 +++ b/functions/public/Invoke-WPFFeatureInstall.ps1 @@ -33,4 +33,4 @@ function Invoke-WPFFeatureInstall { Write-Host "--- A Reboot may be required ---" Write-Host "===================================" } -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFFixesNetwork.ps1 b/functions/public/Invoke-WPFFixesNetwork.ps1 index d7417528..94ba11bd 100644 --- a/functions/public/Invoke-WPFFixesNetwork.ps1 +++ b/functions/public/Invoke-WPFFixesNetwork.ps1 @@ -26,4 +26,4 @@ function Invoke-WPFFixesNetwork { Write-Host "==========================================" Write-Host "-- Network Configuration has been Reset --" Write-Host "==========================================" -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFFixesUpdate.ps1 b/functions/public/Invoke-WPFFixesUpdate.ps1 index bbb53fe4..27bd7406 100644 --- a/functions/public/Invoke-WPFFixesUpdate.ps1 +++ b/functions/public/Invoke-WPFFixesUpdate.ps1 @@ -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 -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFFixesWinget.ps1 b/functions/public/Invoke-WPFFixesWinget.ps1 index f380c2ab..d52b8141 100644 --- a/functions/public/Invoke-WPFFixesWinget.ps1 +++ b/functions/public/Invoke-WPFFixesWinget.ps1 @@ -11,4 +11,4 @@ function Invoke-WPFFixesWinget { Install-WinUtilChoco Start-Process -FilePath "choco" -ArgumentList "install winget -y --force" -NoNewWindow -Wait -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFMicrowin.ps1 b/functions/public/Invoke-WPFMicrowin.ps1 index d94246c4..b54e2625 100644 --- a/functions/public/Invoke-WPFMicrowin.ps1 +++ b/functions/public/Invoke-WPFMicrowin.ps1 @@ -502,4 +502,4 @@ public class PowerManagement { [PowerManagement]::SetThreadExecutionState(0) $sync.ProcessRunning = $false } -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFOOSU.ps1 b/functions/public/Invoke-WPFOOSU.ps1 index f5024f90..4d61c83f 100644 --- a/functions/public/Invoke-WPFOOSU.ps1 +++ b/functions/public/Invoke-WPFOOSU.ps1 @@ -17,4 +17,4 @@ function Invoke-WPFOOSU { finally { $ProgressPreference = $Initial_ProgressPreference } -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFPanelDISM.ps1 b/functions/public/Invoke-WPFPanelDISM.ps1 index 31b36364..a1d266cf 100644 --- a/functions/public/Invoke-WPFPanelDISM.ps1 +++ b/functions/public/Invoke-WPFPanelDISM.ps1 @@ -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 -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFRunspace.ps1 b/functions/public/Invoke-WPFRunspace.ps1 index 4ac4694a..cb624ef3 100644 --- a/functions/public/Invoke-WPFRunspace.ps1 +++ b/functions/public/Invoke-WPFRunspace.ps1 @@ -46,4 +46,4 @@ function Invoke-WPFRunspace { $sync.runspace.Close() [System.GC]::Collect() } -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFUltimatePerformance.ps1 b/functions/public/Invoke-WPFUltimatePerformance.ps1 index aa36197e..d1a12780 100644 --- a/functions/public/Invoke-WPFUltimatePerformance.ps1 +++ b/functions/public/Invoke-WPFUltimatePerformance.ps1 @@ -50,4 +50,4 @@ Function Invoke-WPFUltimatePerformance { } Catch{ Write-Warning $psitem.Exception.Message } -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFUpdatesdefault.ps1 b/functions/public/Invoke-WPFUpdatesdefault.ps1 index 0b786f32..3e1cebdd 100644 --- a/functions/public/Invoke-WPFUpdatesdefault.ps1 +++ b/functions/public/Invoke-WPFUpdatesdefault.ps1 @@ -42,4 +42,4 @@ function Invoke-WPFUpdatesdefault { Write-Host "===================================================" Write-Host "--- Windows Update Settings Reset to Default ---" Write-Host "===================================================" -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFUpdatesdisable.ps1 b/functions/public/Invoke-WPFUpdatesdisable.ps1 index d3f28815..3167039f 100644 --- a/functions/public/Invoke-WPFUpdatesdisable.ps1 +++ b/functions/public/Invoke-WPFUpdatesdisable.ps1 @@ -32,4 +32,4 @@ function Invoke-WPFUpdatesdisable { Write-Host "=================================" Write-Host "--- Updates ARE DISABLED ---" Write-Host "=================================" -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFUpdatessecurity.ps1 b/functions/public/Invoke-WPFUpdatessecurity.ps1 index ed7fe937..e310d6a4 100644 --- a/functions/public/Invoke-WPFUpdatessecurity.ps1 +++ b/functions/public/Invoke-WPFUpdatessecurity.ps1 @@ -50,4 +50,4 @@ function Invoke-WPFUpdatessecurity { Write-Host "=================================" Write-Host "-- Updates Set to Recommended ---" Write-Host "=================================" -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFtweaksbutton.ps1 b/functions/public/Invoke-WPFtweaksbutton.ps1 index 0c538fe0..79bcfbbd 100644 --- a/functions/public/Invoke-WPFtweaksbutton.ps1 +++ b/functions/public/Invoke-WPFtweaksbutton.ps1 @@ -56,4 +56,4 @@ function Invoke-WPFtweaksbutton { # $MessageIcon = [System.Windows.MessageBoxImage]::Information # [System.Windows.MessageBox]::Show($Messageboxbody, $MessageboxTitle, $ButtonType, $MessageIcon) } -} +} \ No newline at end of file diff --git a/functions/public/Invoke-WPFundoall.ps1 b/functions/public/Invoke-WPFundoall.ps1 index 230eb9fd..d706b815 100644 --- a/functions/public/Invoke-WPFundoall.ps1 +++ b/functions/public/Invoke-WPFundoall.ps1 @@ -202,4 +202,4 @@ function Invoke-WPFundoall { Write-Host "--- Undo All is Finished ---" Write-Host "=================================" #> -} +} \ No newline at end of file diff --git a/gpedit-home.ps1 b/gpedit-home.ps1 index 43c552a3..a4931963 100644 --- a/gpedit-home.ps1 +++ b/gpedit-home.ps1 @@ -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:"$_" } \ No newline at end of file diff --git a/lint/PSScriptAnalyser.ps1 b/lint/PSScriptAnalyser.ps1 index 47feae83..20a9080f 100644 --- a/lint/PSScriptAnalyser.ps1 +++ b/lint/PSScriptAnalyser.ps1 @@ -22,4 +22,4 @@ # Note: if a rule is in both IncludeRules and ExcludeRules, the rule # will be excluded. ExcludeRules = @('PSAvoidUsingWriteHost') -} +} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 9442e0d4..85ca4367 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -34,7 +34,7 @@ theme: # Palette toggle for light mode - media: "(prefers-color-scheme: light)" - scheme: default + scheme: default toggle: diff --git a/overrides/main.html b/overrides/main.html index f5f0eb39..f680422d 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -2,4 +2,4 @@ {% block footer %} {# Empty block to override the footer #} -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/pester/configs.Tests.ps1 b/pester/configs.Tests.ps1 index cbeeafba..6a0a76bd 100644 --- a/pester/configs.Tests.ps1 +++ b/pester/configs.Tests.ps1 @@ -78,4 +78,4 @@ Describe "Config Files" -ForEach @( } } -} +} \ No newline at end of file