File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 76
76
77
77
FunctionsToExport = @ (
78
78
' Find-UnitySetupInstaller' ,
79
+ ' Select-UnitySetupInstaller' ,
80
+ ' Test-UnitySetupInstance' ,
79
81
' Get-UnityProjectInstance' ,
80
82
' Get-UnitySetupInstance' ,
83
+ ' Request-UnitySetupInstaller' ,
81
84
' Install-UnitySetupInstance' ,
82
85
' Select-UnitySetupInstance' ,
83
86
' Uninstall-UnitySetupInstance' ,
Original file line number Diff line number Diff line change @@ -432,6 +432,22 @@ function Find-UnitySetupInstaller {
432
432
} | Sort-Object - Property ComponentType
433
433
}
434
434
435
+ <#
436
+ . Synopsis
437
+ Test if a Unity instance is installed.
438
+ . DESCRIPTION
439
+ Returns the status of a Unity install by Version and/or Path to install.
440
+ . PARAMETER Version
441
+ What version of Unity are you looking for?
442
+ . PARAMETER BasePath
443
+ Under what base patterns is Unity customly installed at.
444
+ . PARAMETER Path
445
+ Exact path you expect Unity to be installed at.
446
+ . EXAMPLE
447
+ Test-UnitySetupInstance -Version 2017.3.0f3
448
+ . EXAMPLE
449
+ Test-UnitySetupInstance -BasePath D:/UnityInstalls/Unity2018
450
+ #>
435
451
function Test-UnitySetupInstance {
436
452
[CmdletBinding ()]
437
453
param (
@@ -533,6 +549,21 @@ function Format-BitsPerSecond {
533
549
)
534
550
}
535
551
552
+ <#
553
+ . Synopsis
554
+ Download specified Unity installers.
555
+ . DESCRIPTION
556
+ Filters a list of `UnitySetupInstaller` down to a specific version and/or specific components.
557
+ . PARAMETER Installers
558
+ List of installers that needs to be downloaded.
559
+ . PARAMETER Cache
560
+ File path where installers will be downloaded to.
561
+ . EXAMPLE
562
+ $installers = Find-UnitySetupInstaller -Version 2017.3.0f3
563
+ Request-UnitySetupInstaller -Installers $installers
564
+ . EXAMPLE
565
+ Find-UnitySetupInstaller -Version 2017.3.0f3 | Request-UnitySetupInstaller
566
+ #>
536
567
function Request-UnitySetupInstaller {
537
568
[CmdletBinding ()]
538
569
param (
You can’t perform that action at this time.
0 commit comments