Add browser auth for headless runs

This commit is contained in:
2026-04-08 16:09:30 +02:00
parent c803a00df7
commit 239e3ec16e
12 changed files with 222 additions and 19 deletions

View File

@@ -63,6 +63,16 @@ function Start-CoreApp
Invoke-ModuleFunction "Invoke-InitializeModule"
if($View)
{
$global:currentViewObject = $global:viewObjects | Where-Object { $_.ViewInfo.Id -eq $View } | Select-Object -First 1
}
if(-not $global:currentViewObject)
{
$global:currentViewObject = $global:viewObjects | Select-Object -First 1
}
if(-not $global:SilentBatchFile)
{
Write-Log "SilentBatchFile must be specified" 3