Skip to content

Commit e2100a8

Browse files
authored
Merge pull request #148 from StephenHodgson/dev-lumin-component-installer
Added lumin component installers
2 parents 8046ebf + 09f593f commit e2100a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ enum UnitySetupComponent {
2020
Vuforia = (1 -shl 12)
2121
WebGL = (1 -shl 13)
2222
Mac_IL2CPP = (1 -shl 14)
23+
Lumin = (1 -shl 15)
2324
All = (1 -shl 15) - 1
2425
}
2526

@@ -90,6 +91,7 @@ class UnitySetupInstance {
9091
}
9192

9293
# Common playback engines:
94+
$componentTests[[UnitySetupComponent]::Lumin] = , [io.path]::Combine("$playbackEnginePath", "LuminSupport");
9395
$componentTests[[UnitySetupComponent]::Android] = , [io.path]::Combine("$playbackEnginePath", "AndroidPlayer");
9496
$componentTests[[UnitySetupComponent]::iOS] = , [io.path]::Combine("$playbackEnginePath", "iOSSupport");
9597
$componentTests[[UnitySetupComponent]::AppleTV] = , [io.path]::Combine("$playbackEnginePath", "AppleTVSupport");
@@ -313,6 +315,7 @@ function Find-UnitySetupInstaller {
313315
[UnitySetupComponent]::Vuforia = , "$targetSupport/UnitySetup-Vuforia-AR-Support-for-Editor-$Version.$installerExtension";
314316
[UnitySetupComponent]::WebGL = , "$targetSupport/UnitySetup-WebGL-Support-for-Editor-$Version.$installerExtension";
315317
[UnitySetupComponent]::Windows_IL2CPP = , "$targetSupport/UnitySetup-Windows-IL2CPP-Support-for-Editor-$Version.$installerExtension";
318+
[UnitySetupComponent]::Lumin = , "$targetSupport/UnitySetup-Lumin-Support-for-Editor-$Version.$installerExtension";
316319
}
317320

318321
switch ($currentOS) {
@@ -1369,7 +1372,7 @@ function Start-UnityEditor {
13691372
[parameter(Mandatory = $false)]
13701373
[string]$LogFile,
13711374
[parameter(Mandatory = $false)]
1372-
[ValidateSet('StandaloneOSX', 'StandaloneWindows', 'iOS', 'Android', 'StandaloneLinux', 'StandaloneWindows64', 'WebGL', 'WSAPlayer', 'StandaloneLinux64', 'StandaloneLinuxUniversal', 'Tizen', 'PSP2', 'PS4', 'XBoxOne', 'N3DS', 'WiiU', 'tvOS', 'Switch')]
1375+
[ValidateSet('StandaloneOSX', 'StandaloneWindows', 'iOS', 'Android', 'StandaloneLinux', 'StandaloneWindows64', 'WebGL', 'WSAPlayer', 'StandaloneLinux64', 'StandaloneLinuxUniversal', 'Tizen', 'PSP2', 'PS4', 'XBoxOne', 'N3DS', 'WiiU', 'tvOS', 'Switch', 'Lumin')]
13731376
[string]$BuildTarget,
13741377
[parameter(Mandatory = $false)]
13751378
[switch]$AcceptAPIUpdate,

0 commit comments

Comments
 (0)