From b4866a77b56b0a43755d8a72bca2a4004ee3e559 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Wed, 25 May 2022 12:26:29 +0200 Subject: [PATCH] Added Log for Pre-release version if enabled --- Winget-AutoUpdate/functions/Get-WAUAvailableVersion.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Winget-AutoUpdate/functions/Get-WAUAvailableVersion.ps1 b/Winget-AutoUpdate/functions/Get-WAUAvailableVersion.ps1 index 1fcead4..b4052f7 100644 --- a/Winget-AutoUpdate/functions/Get-WAUAvailableVersion.ps1 +++ b/Winget-AutoUpdate/functions/Get-WAUAvailableVersion.ps1 @@ -5,6 +5,9 @@ function Get-WAUAvailableVersion { #Get Github latest version if ($WAUConfig.WAU_UpdatePrerelease -eq 1) { + #Log + Write-log "WAU AutoUpdate Pre-release versions is Enabled" "Cyan" + #Get latest pre-release info $WAUurl = 'https://api.github.com/repos/Romanitho/Winget-AutoUpdate/releases'