@@ -64,8 +64,8 @@ class UnitySetupInstance {
64
64
[UnitySetupComponent ]::Documentation = , [io.path ]::Combine(" $Path " , " Editor\Data\Documentation" );
65
65
[UnitySetupComponent ]::StandardAssets = , [io.path ]::Combine(" $Path " , " Editor\Standard Assets" );
66
66
[UnitySetupComponent ]::Windows_IL2CPP = , [io.path ]::Combine(" $playbackEnginePath " , " windowsstandalonesupport\Variations\win32_development_il2cpp" );
67
- [UnitySetupComponent ]::UWP = [io.path ]::Combine(" $playbackEnginePath " , " MetroSupport\Templates\UWP_.NET_D3D" ),
68
- [io.path ]::Combine(" $playbackEnginePath " , " MetroSupport\Templates\UWP_D3D" );
67
+ [UnitySetupComponent ]::UWP = [io.path ]::Combine(" $playbackEnginePath " , " MetroSupport\Templates\UWP_.NET_D3D" ),
68
+ [io.path ]::Combine(" $playbackEnginePath " , " MetroSupport\Templates\UWP_D3D" );
69
69
[UnitySetupComponent ]::UWP_IL2CPP = , [io.path ]::Combine(" $playbackEnginePath " , " MetroSupport\Templates\UWP_IL2CPP_D3D" );
70
70
[UnitySetupComponent ]::Linux = , [io.path ]::Combine(" $playbackEnginePath " , " LinuxStandaloneSupport" );
71
71
[UnitySetupComponent ]::Mac = , [io.path ]::Combine(" $playbackEnginePath " , " MacStandaloneSupport" );
@@ -90,12 +90,12 @@ class UnitySetupInstance {
90
90
}
91
91
92
92
# Common playback engines:
93
- $componentTests [[UnitySetupComponent ]::Android ] = , [io.path ]::Combine(" $playbackEnginePath " , " AndroidPlayer" );
94
- $componentTests [[UnitySetupComponent ]::iOS ] = , [io.path ]::Combine(" $playbackEnginePath " , " iOSSupport" );
95
- $componentTests [[UnitySetupComponent ]::AppleTV ] = , [io.path ]::Combine(" $playbackEnginePath " , " AppleTVSupport" );
93
+ $componentTests [[UnitySetupComponent ]::Android ] = , [io.path ]::Combine(" $playbackEnginePath " , " AndroidPlayer" );
94
+ $componentTests [[UnitySetupComponent ]::iOS ] = , [io.path ]::Combine(" $playbackEnginePath " , " iOSSupport" );
95
+ $componentTests [[UnitySetupComponent ]::AppleTV ] = , [io.path ]::Combine(" $playbackEnginePath " , " AppleTVSupport" );
96
96
$componentTests [[UnitySetupComponent ]::Facebook ] = , [io.path ]::Combine(" $playbackEnginePath " , " Facebook" );
97
- $componentTests [[UnitySetupComponent ]::Vuforia ] = , [io.path ]::Combine(" $playbackEnginePath " , " VuforiaSupport" );
98
- $componentTests [[UnitySetupComponent ]::WebGL ] = , [io.path ]::Combine(" $playbackEnginePath " , " WebGLSupport" );
97
+ $componentTests [[UnitySetupComponent ]::Vuforia ] = , [io.path ]::Combine(" $playbackEnginePath " , " VuforiaSupport" );
98
+ $componentTests [[UnitySetupComponent ]::WebGL ] = , [io.path ]::Combine(" $playbackEnginePath " , " WebGLSupport" );
99
99
100
100
$componentTests.Keys | ForEach-Object {
101
101
foreach ( $test in $componentTests [$_ ] ) {
@@ -298,16 +298,16 @@ function Find-UnitySetupInstaller {
298
298
)
299
299
300
300
$installerTemplates = @ {
301
- [UnitySetupComponent ]::UWP = " $targetSupport /UnitySetup-UWP-.NET-Support-for-Editor-$Version .$installerExtension " ,
302
- " $targetSupport /UnitySetup-Metro-Support-for-Editor-$Version .$installerExtension " ;
301
+ [UnitySetupComponent ]::UWP = " $targetSupport /UnitySetup-UWP-.NET-Support-for-Editor-$Version .$installerExtension " ,
302
+ " $targetSupport /UnitySetup-Metro-Support-for-Editor-$Version .$installerExtension " ;
303
303
[UnitySetupComponent ]::UWP_IL2CPP = , " $targetSupport /UnitySetup-UWP-IL2CPP-Support-for-Editor-$Version .$installerExtension " ;
304
304
[UnitySetupComponent ]::Android = , " $targetSupport /UnitySetup-Android-Support-for-Editor-$Version .$installerExtension " ;
305
305
[UnitySetupComponent ]::iOS = , " $targetSupport /UnitySetup-iOS-Support-for-Editor-$Version .$installerExtension " ;
306
306
[UnitySetupComponent ]::AppleTV = , " $targetSupport /UnitySetup-AppleTV-Support-for-Editor-$Version .$installerExtension " ;
307
307
[UnitySetupComponent ]::Facebook = , " $targetSupport /UnitySetup-Facebook-Games-Support-for-Editor-$Version .$installerExtension " ;
308
308
[UnitySetupComponent ]::Linux = , " $targetSupport /UnitySetup-Linux-Support-for-Editor-$Version .$installerExtension " ;
309
- [UnitySetupComponent ]::Mac = " $targetSupport /UnitySetup-Mac-Support-for-Editor-$Version .$installerExtension " ,
310
- " $targetSupport /UnitySetup-Mac-Mono-Support-for-Editor-$Version .$installerExtension " ;
309
+ [UnitySetupComponent ]::Mac = " $targetSupport /UnitySetup-Mac-Support-for-Editor-$Version .$installerExtension " ,
310
+ " $targetSupport /UnitySetup-Mac-Mono-Support-for-Editor-$Version .$installerExtension " ;
311
311
[UnitySetupComponent ]::Mac_IL2CPP = , " $targetSupport /UnitySetup-Mac-IL2CPP-Support-for-Editor-$Version .$installerExtension " ;
312
312
[UnitySetupComponent ]::Vuforia = , " $targetSupport /UnitySetup-Vuforia-AR-Support-for-Editor-$Version .$installerExtension " ;
313
313
[UnitySetupComponent ]::WebGL = , " $targetSupport /UnitySetup-WebGL-Support-for-Editor-$Version .$installerExtension " ;
@@ -1075,7 +1075,7 @@ function Get-UnitySetupInstance {
1075
1075
}
1076
1076
}
1077
1077
1078
- $results = Get-ChildItem $BasePath - Directory | Where-Object {
1078
+ Get-ChildItem $BasePath - Directory | Where-Object {
1079
1079
Test-Path (Join-Path $_.FullName ' Editor\Unity.exe' ) - PathType Leaf
1080
1080
} | ForEach-Object {
1081
1081
$path = $_.FullName
@@ -1087,8 +1087,6 @@ function Get-UnitySetupInstance {
1087
1087
Write-Warning " $_ "
1088
1088
}
1089
1089
}
1090
-
1091
- $results
1092
1090
}
1093
1091
1094
1092
<#
0 commit comments