New WinGet Script
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user