Keeping json file (for troubleshoot)

pull/512/head
romanitho 2023-12-07 00:32:03 +01:00
parent afcd19a429
commit ee245f6225
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
$Packages = $Json.Sources.Packages
#Remove json file
Get-Item $JsonFile -ErrorAction SilentlyContinue | Remove-Item -Force
# Search for specific app and version
$Apps = $Packages | Where-Object { $_.PackageIdentifier -eq $AppName -and $_.Version -like "$AppVer*" }