Skip to content

Commit 17f4123

Browse files
added lumin component installers
1 parent 2102fb1 commit 17f4123

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ enum UnitySetupComponent {
1919
Facebook = (1 -shl 11)
2020
Vuforia = (1 -shl 12)
2121
WebGL = (1 -shl 13)
22-
All = (1 -shl 14) - 1
22+
Lumin = (1 -shl 14)
23+
All = (1 -shl 15) - 1
2324
}
2425

2526
[Flags()]
@@ -76,6 +77,7 @@ class UnitySetupInstance {
7677
[UnitySetupComponent]::UWP_IL2CPP = , [io.path]::Combine("$playbackEnginePath", "MetroSupport\Templates\UWP_IL2CPP_D3D");
7778
[UnitySetupComponent]::Linux = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport");
7879
[UnitySetupComponent]::Mac = , [io.path]::Combine("$playbackEnginePath", "MacStandaloneSupport");
80+
[UnitySetupComponent]::Lumin = , [io.path]::Combine("$playbackEnginePath", "LuminSupport");
7981
}
8082
}
8183
([OperatingSystem]::Linux) {
@@ -309,6 +311,7 @@ function Find-UnitySetupInstaller {
309311
[UnitySetupComponent]::Vuforia = , "$targetSupport/UnitySetup-Vuforia-AR-Support-for-Editor-$Version.$installerExtension";
310312
[UnitySetupComponent]::WebGL = , "$targetSupport/UnitySetup-WebGL-Support-for-Editor-$Version.$installerExtension";
311313
[UnitySetupComponent]::Windows_IL2CPP = , "$targetSupport/UnitySetup-Windows-IL2CPP-Support-for-Editor-$Version.$installerExtension";
314+
[UnitySetupComponent]::Lumin = , "$targetSupport/UnitySetup-Lumin-Support-for-Editor-$Version.$installerExtension";
312315
}
313316

314317
switch ($currentOS) {
@@ -819,7 +822,7 @@ function Start-UnityEditor {
819822
[parameter(Mandatory = $false)]
820823
[string]$LogFile,
821824
[parameter(Mandatory = $false)]
822-
[ValidateSet('StandaloneOSX', 'StandaloneWindows', 'iOS', 'Android', 'StandaloneLinux', 'StandaloneWindows64', 'WebGL', 'WSAPlayer', 'StandaloneLinux64', 'StandaloneLinuxUniversal', 'Tizen', 'PSP2', 'PS4', 'XBoxOne', 'N3DS', 'WiiU', 'tvOS', 'Switch')]
825+
[ValidateSet('StandaloneOSX', 'StandaloneWindows', 'iOS', 'Android', 'StandaloneLinux', 'StandaloneWindows64', 'WebGL', 'WSAPlayer', 'StandaloneLinux64', 'StandaloneLinuxUniversal', 'Tizen', 'PSP2', 'PS4', 'XBoxOne', 'N3DS', 'WiiU', 'tvOS', 'Switch', 'Lumin')]
823826
[string]$BuildTarget,
824827
[parameter(Mandatory = $false)]
825828
[switch]$AcceptAPIUpdate,

0 commit comments

Comments
 (0)