Add overlay and block app list during install/uninstall (#3385)

* Implement app installation progress overlay and refactor progress bar handling

* Add overlay background color settings and ensure minimum progress bar value

* Add busy overlay functionality and progress bar updates for installation process

* Refactor busy overlay implementation to dynamically adjust size based on app area dimensions
This commit is contained in:
Martin Wiethan
2025-06-26 19:11:38 +02:00
committed by GitHub
parent 6b22c63d28
commit 91de389c8f
9 changed files with 118 additions and 46 deletions

View File

@ -41,6 +41,7 @@ function Invoke-WPFUnInstall {
try {
$sync.ProcessRunning = $true
Show-WPFInstallAppBusy -text "Uninstalling apps..."
# Uninstall all selected programs in new window
if($packagesWinget.Count -gt 0) {
@ -49,7 +50,7 @@ function Invoke-WPFUnInstall {
if($packagesChoco.Count -gt 0) {
Install-WinUtilProgramChoco -Action Uninstall -Programs $packagesChoco
}
Hide-WPFInstallAppBusy
Write-Host "==========================================="
Write-Host "-- Uninstalls have finished ---"
Write-Host "==========================================="