Small fix for install counter
parent
952feed01a
commit
7733481e73
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue