Application Sort - DDU - Change in Runspace (#1013)

* Application list sorted alphabetically

* Indentation fix

* Compiled winutil.ps1

* Indentation fix

* Added Display Driver Uninstaller

* Fix apps falsely marked as installed #1015
This commit is contained in:
supplefrog
2023-09-12 08:20:44 +05:30
committed by GitHub
parent 5b3ae84fc2
commit c9b7b7f726
4 changed files with 717 additions and 712 deletions

View File

@ -26,12 +26,10 @@ Function Invoke-WinUtilCurrentSystem {
$filter = Get-WinUtilVariables -Type Checkbox | Where-Object {$psitem -like "WPFInstall*"}
$sync.GetEnumerator() | Where-Object {$psitem.Key -in $filter} | ForEach-Object {
$dependencies = $($sync.configs.applications.$($psitem.Key).winget -split ";")
$dependencies = @($sync.configs.applications.$($psitem.Key).winget -split ";")
Foreach ($dependency in $dependencies) {
if($dependency -in $sync.InstalledPrograms.Id){
Write-Output $psitem.name
}
if ($dependencies[-1] -in $sync.InstalledPrograms.Id) {
Write-Output $psitem.name
}
}
}