mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-10-09 21:21:18 +11:00
Improve UI startup after runspace overhaul (#5056)
* perf: keep UI startup responsive * test: make favicon checks runner-safe * fix: qualify favicon visibility state * test: isolate favicon visibility fixture * fix: enforce total favicon deadline * fix: address favicon review feedback * fix: recognize disabled SSH firewall rule * perf: restore favicon download throughput * docs: allow public PR review uploads * perf: restore overlapping favicon loading
This commit is contained in:
@@ -200,9 +200,12 @@ Describe "Compiled WinUtil sanity" {
|
||||
It "replaces the generated build date placeholder" {
|
||||
$content = Get-Content -Path $script:compiledPath -Raw
|
||||
$expectedBuildDate = Get-Date -Format "yy.MM.dd"
|
||||
$expectedLocalCompile = (-not [string]::Equals($env:GITHUB_ACTIONS, "true", [StringComparison]::OrdinalIgnoreCase)).ToString().ToLowerInvariant()
|
||||
|
||||
$content | Should -Not -Match ([regex]::Escape("#{replaceme}"))
|
||||
$content | Should -Not -Match ([regex]::Escape("#{islocalcompile}"))
|
||||
$content | Should -Match ([regex]::Escape('$sync.version = "' + $expectedBuildDate + '"'))
|
||||
$content | Should -Match ([regex]::Escape('$sync.IsLocalCompile = "' + $expectedLocalCompile + '" -eq "true"'))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user