We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 602fb72 + 50de740 commit 782e8a7Copy full SHA for 782e8a7
UnitySetup/UnitySetup.psm1
@@ -658,7 +658,7 @@ function Format-BitsPerSecond {
658
[CmdletBinding()]
659
param(
660
[parameter(Mandatory = $true)]
661
- [int] $Bytes,
+ [int64] $Bytes,
662
663
664
[int] $Seconds
@@ -760,8 +760,8 @@ function Request-UnitySetupInstaller {
760
$global:downloadData[$installerFileName] = New-Object PSObject -Property @{
761
installerFileName = $installerFileName
762
startTime = Get-Date
763
- totalBytes = $_.Length
764
- receivedBytes = 0
+ totalBytes = [int64]$_.Length
+ receivedBytes = [int64]0
765
isDownloaded = $false
766
destination = $destination
767
lastModified = $_.LastModified
0 commit comments