diff --git a/.github/workflows/WAU-AutoCreatePreVersion.yml b/.github/workflows/WAU-AutoCreatePreVersion.yml index 1e59ebe..c4429c9 100644 --- a/.github/workflows/WAU-AutoCreatePreVersion.yml +++ b/.github/workflows/WAU-AutoCreatePreVersion.yml @@ -92,8 +92,8 @@ jobs: zip -r WAU.zip Winget-AutoUpdate zip WAU.zip Winget-AutoUpdate-Install.ps1 zip WAU.zip excluded_apps.txt - zip WAU.zip install.bat - zip WAU.zip uninstall.bat + zip WAU.zip Gui.ps1 + zip WAU.zip "WAU Configurator.lnk" # Zip ADMX cd Policies zip -r ../WAU_ADMX.zip * diff --git a/.github/workflows/WAU-CreateNewVersion.yml b/.github/workflows/WAU-CreateNewVersion.yml index 00e85a0..ec60dad 100644 --- a/.github/workflows/WAU-CreateNewVersion.yml +++ b/.github/workflows/WAU-CreateNewVersion.yml @@ -65,8 +65,8 @@ jobs: zip -r WAU.zip Winget-AutoUpdate zip WAU.zip Winget-AutoUpdate-Install.ps1 zip WAU.zip excluded_apps.txt - zip WAU.zip install.bat - zip WAU.zip uninstall.bat + zip WAU.zip Gui.ps1 + zip WAU.zip "WAU Configurator.lnk" # Zip ADMX cd Policies zip -r ../WAU_ADMX.zip * diff --git a/Winget-AutoUpdate/Winget-Install.ps1 b/Winget-AutoUpdate/Winget-Install.ps1 index c93fe5d..be669cf 100644 --- a/Winget-AutoUpdate/Winget-Install.ps1 +++ b/Winget-AutoUpdate/Winget-Install.ps1 @@ -365,7 +365,7 @@ if ($IsElevated -eq $True) { #Check/install prerequisites Install-Prerequisites #Install/Update Winget - Update-Winget + $null = Update-Winget #Reload Winget command $Script:Winget = Get-WingetCmd #Run Scope Machine funtion