Add browser auth for headless runs
This commit is contained in:
10
Core.psm1
10
Core.psm1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user