Added WPF popups and timeouts so it doesn't break at Logon if App Volumes has attached yet.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user