Update wingetPublish.ps1

This commit is contained in:
Tiago Conceição
2022-03-26 23:21:00 +00:00
parent de0374cf63
commit 7441ce94d9
+2 -2
View File
@@ -6,7 +6,7 @@ Set-Location $PSScriptRoot
####################################
# Variables
$projectAPIUrl = "https://api.github.com/repos/sn4k3/UVtools/releases/latest"
$outputFolder = "winget-pr-manifests"
$outputFolder = "manifests"
$msiUrl = $null
Write-Output "
@@ -59,7 +59,7 @@ Url: $msiUrl
"
$actionInput = Read-Host -Prompt "Do you want to update the manifest with the current release v$($version)? (Y/Yes or N/No)"
if($actionInput -eq "y" || $actionInput -eq "yes")
if($actionInput -eq "y" -or $actionInput -eq "yes")
{
Remove-Item $outputFolder -Recurse -ErrorAction Ignore # Clean
#wingetcreate.exe update PTRTECH.UVtools --interactive