Added Log for Pre-release version if enabled

pull/89/head
Romain 2022-05-25 12:26:29 +02:00
parent 278313733d
commit b4866a77b5
1 changed files with 3 additions and 0 deletions

View File

@ -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'