From 952feed01af76adec2a685f29781d2bb05761813 Mon Sep 17 00:00:00 2001 From: romanitho <96626929+Romanitho@users.noreply.github.com> Date: Wed, 6 Dec 2023 01:58:49 +0100 Subject: [PATCH] Gui integration in release --- .github/workflows/WAU-AutoCreatePreVersion.yml | 4 ++-- .github/workflows/WAU-CreateNewVersion.yml | 4 ++-- Winget-AutoUpdate/Winget-Install.ps1 | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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