File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -421,11 +421,7 @@ function Install-UnitySetupInstance {
421
421
[string ]$Destination ,
422
422
423
423
[parameter (Mandatory = $false )]
424
- [string ]$Cache = [io.Path ]::Combine($env: USERPROFILE , " .unitysetup" ),
425
-
426
- [parameter (Mandatory = $false )]
427
- [ValidateSet (' Open' , ' RunAs' )]
428
- [string ]$Verb
424
+ [string ]$Cache = [io.Path ]::Combine($env: USERPROFILE , " .unitysetup" )
429
425
)
430
426
431
427
process {
@@ -471,7 +467,7 @@ function Install-UnitySetupInstance {
471
467
}
472
468
}
473
469
474
- Start-BitsTransfer - Source $downloadSource - Destination $downloadDest
470
+ ( New-Object System.Net.WebClient).DownloadFile( $downloadSource , $downloadDest )
475
471
}
476
472
477
473
for ($i = 0 ; $i -lt $localInstallers.Length ; $i ++ ) {
You can’t perform that action at this time.
0 commit comments