Skip to content

Commit 13a3db3

Browse files
authored
Merge pull request #161 from StephenHodgson/dev-macil2cpp
Mac_IL2CPP component installer
2 parents 0881fff + e428577 commit 13a3db3

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
@@ -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+
Mac_IL2CPP = (1 -shl 14)
23+
All = (1 -shl 15) - 1
2324
}
2425

2526
[Flags()]
@@ -94,6 +95,7 @@ class UnitySetupInstance {
9495
@{
9596
[UnitySetupComponent]::Documentation = , [io.path]::Combine("$Path", "Documentation");
9697
[UnitySetupComponent]::StandardAssets = , [io.path]::Combine("$Path", "Standard Assets");
98+
[UnitySetupComponent]::Mac_IL2CPP = , [io.path]::Combine("$playbackEnginePath", "MacStandaloneSupport/Variations/macosx64_development_il2cpp");
9799
[UnitySetupComponent]::Windows = , [io.path]::Combine("$playbackEnginePath", "WindowsStandaloneSupport");
98100
[UnitySetupComponent]::Linux = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport");
99101
}
@@ -319,6 +321,7 @@ function Find-UnitySetupInstaller {
319321
[UnitySetupComponent]::Linux = , "$targetSupport/UnitySetup-Linux-Support-for-Editor-$Version.$installerExtension";
320322
[UnitySetupComponent]::Mac = "$targetSupport/UnitySetup-Mac-Support-for-Editor-$Version.$installerExtension",
321323
"$targetSupport/UnitySetup-Mac-Mono-Support-for-Editor-$Version.$installerExtension";
324+
[UnitySetupComponent]::Mac_IL2CPP = , "$targetSupport/UnitySetup-Mac-IL2CPP-Support-for-Editor-$Version.$installerExtension";
322325
[UnitySetupComponent]::Vuforia = , "$targetSupport/UnitySetup-Vuforia-AR-Support-for-Editor-$Version.$installerExtension";
323326
[UnitySetupComponent]::WebGL = , "$targetSupport/UnitySetup-WebGL-Support-for-Editor-$Version.$installerExtension";
324327
[UnitySetupComponent]::Windows_IL2CPP = , "$targetSupport/UnitySetup-Windows-IL2CPP-Support-for-Editor-$Version.$installerExtension";

0 commit comments

Comments
 (0)