Small fix for install counter

pull/509/head
romanitho 2023-12-06 16:23:20 +01:00
parent 952feed01a
commit 7733481e73
2 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ function Install-WingetAutoUpdate {
} }
#Add 1 to counter file #Add 1 to counter file
Invoke-RestMethod -Uri "https://github.com/Romanitho/Winget-AutoUpdate/releases/download/$($WAUVersion)/WAU_InstallCounter" | Out-Null Invoke-RestMethod -Uri "https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v$($WAUVersion)/WAU_InstallCounter" | Out-Null
Write-ToLog "-> WAU Installation succeeded!`n" "Green" Write-ToLog "-> WAU Installation succeeded!`n" "Green"
Start-sleep 1 Start-sleep 1

View File

@ -183,7 +183,7 @@ function Invoke-PostUpdateActions {
$Script:WAUConfig = Get-WAUConfig $Script:WAUConfig = Get-WAUConfig
#Add 1 to counter file #Add 1 to counter file
Invoke-RestMethod -Uri "https://github.com/Romanitho/Winget-AutoUpdate/releases/download/$($WAUVersion)/WAU_InstallCounter" | Out-Null Invoke-RestMethod -Uri "https://github.com/Romanitho/Winget-AutoUpdate/releases/download/v$($WAUConfig.DisplayVersion)/WAU_InstallCounter" | Out-Null
#log #log
Write-ToLog "Post Update actions finished" "green" Write-ToLog "Post Update actions finished" "green"