Skip to content

Commit d5f9aed

Browse files
committed
Corrects visual issues on macOS with the Write-Progress and newlines activity string.
1 parent 1a41976 commit d5f9aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ function Request-UnitySetupInstaller {
598598
}
599599

600600
# TODO: Display in Kbps on slow networks.
601-
Write-Progress -Activity "$("{0:N2}" -f $averageSpeed) Mbps`nDownloading $($_.DownloadUrl)" `
601+
Write-Progress -Activity "$("{0:N2}" -f $averageSpeed) Mbps | Downloading $installerFileName" `
602602
-Status "$($receivedBytes | Get-FileSize) of $($totalBytes | Get-FileSize)" `
603603
-SecondsRemaining $secondsRemaining `
604604
-PercentComplete $progress

0 commit comments

Comments
 (0)