show which patches include settings
This commit is contained in:
parent
93eb7a40a2
commit
34b44630b1
1 changed files with 10 additions and 1 deletions
11
revanced.ps1
11
revanced.ps1
|
@ -327,7 +327,16 @@ class IntegrationList : System.Collections.ArrayList<#Integration#> {
|
|||
$rvalue = [FormItems]::new()
|
||||
foreach ($i in $this) {
|
||||
if (-not $i.compatiblePackageNames().Contains($packageName)) { continue }
|
||||
[void] $rvalue.Add([FormItem]::new($i.name, "$($i.name) - $($i.description)"))
|
||||
|
||||
[String] $description = "$($i.name) - $($i.description)"
|
||||
foreach ($j in $this.getFullIntegrationList($i.name)) {
|
||||
if ( $j -match "setting") {
|
||||
$description = $description.Replace("$($i.name) - ", "$($i.name) [s] - ")
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
[void] $rvalue.Add([FormItem]::new($i.name, $description))
|
||||
}
|
||||
return $rvalue
|
||||
}
|
||||
|
|
Reference in a new issue