mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-09 17:41:14 +10:00
Replace install progress overlay with shared indicator (#4844)
* Use shared progress for app workflows * Remove legacy install progress overlay * Document shared app progress indicator * Address progress review feedback * Track all Win11 ISO progress * Restore Win11 Creator work on relaunch
This commit is contained in:
@@ -69,6 +69,23 @@ Describe "Initialize-WinUtilTabContent" {
|
||||
$targetGridName -eq "appxpanel" -and $columncount -eq 2
|
||||
}
|
||||
}
|
||||
|
||||
It "checks for existing Win11ISO work when the tab is initialized" {
|
||||
Add-Type -AssemblyName WindowsBase
|
||||
$dispatcher = [pscustomobject]@{}
|
||||
$dispatcher | Add-Member -MemberType ScriptMethod -Name BeginInvoke -Value {
|
||||
param($priority, $action)
|
||||
$action.Invoke()
|
||||
}
|
||||
$script:sync.Form = [pscustomobject]@{ Dispatcher = $dispatcher }
|
||||
Mock Invoke-WinUtilISOCheckExistingWork { }
|
||||
|
||||
Initialize-WinUtilTabContent -TabName "Win11ISO"
|
||||
Initialize-WinUtilTabContent -TabName "Win11ISO"
|
||||
|
||||
Should -Invoke -CommandName Invoke-WinUtilISOCheckExistingWork -Times 1 -Exactly
|
||||
$script:sync.InitializedTabs["Win11ISO"] | Should -BeTrue
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Startup lazy tab wiring" {
|
||||
|
||||
Reference in New Issue
Block a user