From 84f204691243f247e020dedf2d180e12a96e6aee Mon Sep 17 00:00:00 2001 From: Gabi <182965942+GabiNun@users.noreply.github.com> Date: Tue, 17 Feb 2026 21:30:37 +0200 Subject: [PATCH] Update-WPFTweaksWidget (#4058) * Update WPFTweaksWidget how did you miss this chris? * Fix WPFTweaksWidget not working --- config/tweaks.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/tweaks.json b/config/tweaks.json index 2b130169..d7e80031 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -65,9 +65,11 @@ "panel": "1", "InvokeScript": [ " - # Sometimes if you dont stop Widgets Process for removal to work + # Sometimes if you dont stop the Widgets process the removal may fail + Stop-Process -Name Widgets Get-AppxPackage Microsoft.WidgetsPlatformRuntime -AllUsers | Remove-AppxPackage -AllUsers + Get-AppxPackage MicrosoftWindows.Client.WebExperience -AllUsers | Remove-AppxPackage -AllUsers Invoke-WinUtilExplorerUpdate -action \"restart\" Write-Host \"Removed widgets\" @@ -76,7 +78,10 @@ "UndoScript": [ " Write-Host \"Restoring widgets AppxPackages\" - Add-AppxPackage -DisableDevelopmentMode -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\" + + Add-AppxPackage -Register \"C:\\Program Files\\WindowsApps\\Microsoft.WidgetsPlatformRuntime*\\AppxManifest.xml\" -DisableDevelopmentMode + Add-AppxPackage -Register \"C:\\Program Files\\WindowsApps\\MicrosoftWindows.Client.WebExperience*\\AppxManifest.xml\" -DisableDevelopmentMode + Invoke-WinUtilExplorerUpdate -action \"restart\" " ],