New WinGet Script

This commit is contained in:
2025-10-18 16:16:49 -05:00
parent 6f17296d1d
commit 31616fd548
2 changed files with 131 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ Function InstallLatestVer {
write-host "returned exit code" $NCInstall.ExitCode
if (0 -in $NCInstall.ExitCode) {
Write-Host -ForegroundColor Green "Successfully installed!"
del "$env:SystemDrive\irnh\Nextcloud-$LatestVer.msi"
del "$env:SystemDrive\irnh\Nextcloud-$LatestVer.msi"
}
} catch {
write-host "it no worky"