@@ -19,7 +19,8 @@ enum UnitySetupComponent {
19
19
Facebook = (1 -shl 11 )
20
20
Vuforia = (1 -shl 12 )
21
21
WebGL = (1 -shl 13 )
22
- All = (1 -shl 14 ) - 1
22
+ Mac_IL2CPP = (1 -shl 14 )
23
+ All = (1 -shl 15 ) - 1
23
24
}
24
25
25
26
[Flags ()]
@@ -73,14 +74,12 @@ class UnitySetupInstance {
73
74
$this.Components = [UnitySetupComponent ]::Windows
74
75
$playbackEnginePath = [io.path ]::Combine(" $Path " , " Editor\Data\PlaybackEngines" );
75
76
@ {
76
- [UnitySetupComponent ]::Documentation = , [io.path ]::Combine(" $Path " , " Editor\Data\Documentation" );
77
- [UnitySetupComponent ]::StandardAssets = , [io.path ]::Combine(" $Path " , " Editor\Standard Assets" );
78
77
[UnitySetupComponent ]::Windows_IL2CPP = , [io.path ]::Combine(" $playbackEnginePath " , " windowsstandalonesupport\Variations\win32_development_il2cpp" );
79
78
[UnitySetupComponent ]::UWP = [io.path ]::Combine(" $playbackEnginePath " , " MetroSupport\Templates\UWP_.NET_D3D" ),
80
79
[io.path ]::Combine(" $playbackEnginePath " , " MetroSupport\Templates\UWP_D3D" );
81
80
[UnitySetupComponent ]::UWP_IL2CPP = , [io.path ]::Combine(" $playbackEnginePath " , " MetroSupport\Templates\UWP_IL2CPP_D3D" );
82
- [UnitySetupComponent ]::Linux = , [io.path ]::Combine(" $playbackEnginePath " , " LinuxStandaloneSupport " );
83
- [UnitySetupComponent ]::Mac = , [io.path ]::Combine(" $playbackEnginePath " , " MacStandaloneSupport " );
81
+ [UnitySetupComponent ]::Documentation = , [io.path ]::Combine(" $Path " , " Editor\Data\Documentation " );
82
+ [UnitySetupComponent ]::StandardAssets = , [io.path ]::Combine(" $Path " , " Editor\Standard Assets " );
84
83
}
85
84
}
86
85
([OperatingSystem ]::Linux) {
@@ -94,13 +93,15 @@ class UnitySetupInstance {
94
93
@ {
95
94
[UnitySetupComponent ]::Documentation = , [io.path ]::Combine(" $Path " , " Documentation" );
96
95
[UnitySetupComponent ]::StandardAssets = , [io.path ]::Combine(" $Path " , " Standard Assets" );
96
+ # [UnitySetupComponent]::Mac_IL2CPP = , [io.path]::Combine("$playbackEnginePath", "???");
97
97
[UnitySetupComponent ]::Windows = , [io.path ]::Combine(" $playbackEnginePath " , " WindowsStandaloneSupport" );
98
- [UnitySetupComponent ]::Linux = , [io.path ]::Combine(" $playbackEnginePath " , " LinuxStandaloneSupport" );
99
98
}
100
99
}
101
100
}
102
-
101
+
103
102
# Common playback engines:
103
+ $componentTests [[UnitySetupComponent ]::Linux ] = , [io.path ]::Combine(" $playbackEnginePath " , " LinuxStandaloneSupport" );
104
+ $componentTests [[UnitySetupComponent ]::Mac ] = , [io.path ]::Combine(" $playbackEnginePath " , " MacStandaloneSupport" );
104
105
$componentTests [[UnitySetupComponent ]::Android ] = , [io.path ]::Combine(" $playbackEnginePath " , " AndroidPlayer" );
105
106
$componentTests [[UnitySetupComponent ]::iOS ] = , [io.path ]::Combine(" $playbackEnginePath " , " iOSSupport" );
106
107
$componentTests [[UnitySetupComponent ]::AppleTV ] = , [io.path ]::Combine(" $playbackEnginePath " , " AppleTVSupport" );
@@ -318,7 +319,8 @@ function Find-UnitySetupInstaller {
318
319
[UnitySetupComponent ]::Facebook = , " $targetSupport /UnitySetup-Facebook-Games-Support-for-Editor-$Version .$installerExtension " ;
319
320
[UnitySetupComponent ]::Linux = , " $targetSupport /UnitySetup-Linux-Support-for-Editor-$Version .$installerExtension " ;
320
321
[UnitySetupComponent ]::Mac = " $targetSupport /UnitySetup-Mac-Support-for-Editor-$Version .$installerExtension " ,
321
- " $targetSupport /UnitySetup-Mac-Mono-Support-for-Editor-$Version .$installerExtension " ;
322
+ " $targetSupport /UnitySetup-Mac-Mono-Support-for-Editor-$Version .$installerExtension " ;
323
+ [UnitySetupComponent ]::Mac_IL2CPP = , " $targetSupport /UnitySetup-Mac-IL2CPP-Support-for-Editor-$Version .$installerExtension " ;
322
324
[UnitySetupComponent ]::Vuforia = , " $targetSupport /UnitySetup-Vuforia-AR-Support-for-Editor-$Version .$installerExtension " ;
323
325
[UnitySetupComponent ]::WebGL = , " $targetSupport /UnitySetup-WebGL-Support-for-Editor-$Version .$installerExtension " ;
324
326
[UnitySetupComponent ]::Windows_IL2CPP = , " $targetSupport /UnitySetup-Windows-IL2CPP-Support-for-Editor-$Version .$installerExtension " ;
0 commit comments