Added WPF popups and timeouts so it doesn't break at Logon if App Volumes has attached yet.

This commit is contained in:
2026-03-30 10:38:35 -07:00
parent d107f85d6f
commit 4bfed03621
4 changed files with 267 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ try {
$config = Import-PowerShellDataFile -Path (Join-Path $PSScriptRoot '..\config.psd1')
$logDir = [System.Environment]::ExpandEnvironmentVariables($config.LogPath)
New-Item -ItemType Directory -Path $logDir -Force -ErrorAction SilentlyContinue | Out-Null
Start-Transcript -Path (Join-Path $logDir 'OBSReplayBuffer-Tray.log') -Append -ErrorAction Stop
Start-Transcript -Path (Join-Path $logDir 'OBSReplayBuffer-Tray.log') -Force -ErrorAction Stop
} catch {
# Log path unavailable — continue without transcript
}