mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Refactor MainThreadLogPath to use script:uiState.LogFilePath for consistency
This commit is contained in:
@@ -2076,7 +2076,7 @@ $window.Add_Loaded({
|
|||||||
-CompletedStatusText 'Completed' `
|
-CompletedStatusText 'Completed' `
|
||||||
-ErrorStatusPrefix 'Error: ' `
|
-ErrorStatusPrefix 'Error: ' `
|
||||||
-WindowObject $window `
|
-WindowObject $window `
|
||||||
-MainThreadLogPath $global:LogFile
|
-MainThreadLogPath $script:uiState.LogFilePath
|
||||||
|
|
||||||
$overallSuccess = $true
|
$overallSuccess = $true
|
||||||
# Check if any item has an error status after processing
|
# Check if any item has an error status after processing
|
||||||
@@ -2470,7 +2470,7 @@ $window.Add_Loaded({
|
|||||||
-CompletedStatusText "Completed" `
|
-CompletedStatusText "Completed" `
|
||||||
-ErrorStatusPrefix "Error: " `
|
-ErrorStatusPrefix "Error: " `
|
||||||
-WindowObject $window `
|
-WindowObject $window `
|
||||||
-MainThreadLogPath $global:LogFile
|
-MainThreadLogPath $script:uiState.LogFilePath
|
||||||
|
|
||||||
# Final status update (handled by Invoke-ParallelProcessing)
|
# Final status update (handled by Invoke-ParallelProcessing)
|
||||||
$script:uiState.Controls.pbOverallProgress.Visibility = 'Collapsed'
|
$script:uiState.Controls.pbOverallProgress.Visibility = 'Collapsed'
|
||||||
@@ -2565,7 +2565,7 @@ $window.Add_Loaded({
|
|||||||
-CompletedStatusText "Copied" `
|
-CompletedStatusText "Copied" `
|
||||||
-ErrorStatusPrefix "Error: " `
|
-ErrorStatusPrefix "Error: " `
|
||||||
-WindowObject $window `
|
-WindowObject $window `
|
||||||
-MainThreadLogPath $global:LogFile
|
-MainThreadLogPath $script:uiState.LogFilePath
|
||||||
|
|
||||||
# Final status update (handled by Invoke-ParallelProcessing)
|
# Final status update (handled by Invoke-ParallelProcessing)
|
||||||
$script:uiState.Controls.pbOverallProgress.Visibility = 'Collapsed'
|
$script:uiState.Controls.pbOverallProgress.Visibility = 'Collapsed'
|
||||||
|
|||||||
Reference in New Issue
Block a user