mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 17:14:45 -05:00
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:
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user