From 86628c9d30e220a887cfc8b816147a3a0aa3d47a Mon Sep 17 00:00:00 2001 From: Carter <60557606+Carterpersall@users.noreply.github.com> Date: Tue, 17 May 2022 10:47:54 -0500 Subject: [PATCH] Fix issue in #14 (#20) * Fix issue in #14 - It seems that Chris forgot to add a button for the Repair Windows Update Script and accidentally put it under the Default Windows Update Settings button. - Fixed by adding the $WPFFixesUpdate.Add_Click function before the Reset Script - Fixes #14 * decoupling xaml and ps1 (#7) Co-authored-by: Chris Titus Co-authored-by: Rahul Somasundaram Co-authored-by: Chris Titus --- winutil.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/winutil.ps1 b/winutil.ps1 index a04006e4..3c72b196 100644 --- a/winutil.ps1 +++ b/winutil.ps1 @@ -7,7 +7,7 @@ # $inputXML = Get-Content "MainWindow.xaml" #uncomment for development $inputXML = (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/MainWindow.xaml") #uncomment for Production - + $inputXML = $inputXML -replace 'mc:Ignorable="d"','' -replace "x:N",'N' -replace '^