Merge pull request #512 from Romanitho/reinstall

Keep Json temp file to help for troubleshooting
pull/515/head
Romain 2023-12-07 00:55:10 +01:00 committed by GitHub
commit b195fda9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -12,9 +12,6 @@ Function Confirm-Installation ($AppName, $AppVer) {
#Get apps and version in hashtable #Get apps and version in hashtable
$Packages = $Json.Sources.Packages $Packages = $Json.Sources.Packages
#Remove json file
Remove-Item $JsonFile -Force
# Search for specific app and version # Search for specific app and version
$Apps = $Packages | Where-Object { $_.PackageIdentifier -eq $AppName -and $_.Version -like "$AppVer*" } $Apps = $Packages | Where-Object { $_.PackageIdentifier -eq $AppName -and $_.Version -like "$AppVer*" }