Skip to content

Commit 48a911e

Browse files
reverted whitespace chagnes
1 parent ad69b80 commit 48a911e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ class UnitySetupInstance {
6464
[UnitySetupComponent]::Documentation = , [io.path]::Combine("$Path", "Editor\Data\Documentation");
6565
[UnitySetupComponent]::StandardAssets = , [io.path]::Combine("$Path", "Editor\Standard Assets");
6666
[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");
6969
[UnitySetupComponent]::UWP_IL2CPP = , [io.path]::Combine("$playbackEnginePath", "MetroSupport\Templates\UWP_IL2CPP_D3D");
7070
[UnitySetupComponent]::Linux = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport");
7171
[UnitySetupComponent]::Mac = , [io.path]::Combine("$playbackEnginePath", "MacStandaloneSupport");
@@ -90,12 +90,12 @@ class UnitySetupInstance {
9090
}
9191

9292
# 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");
9696
$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");
9999

100100
$componentTests.Keys | ForEach-Object {
101101
foreach ( $test in $componentTests[$_] ) {
@@ -306,8 +306,8 @@ function Find-UnitySetupInstaller {
306306
[UnitySetupComponent]::AppleTV = , "$targetSupport/UnitySetup-AppleTV-Support-for-Editor-$Version.$installerExtension";
307307
[UnitySetupComponent]::Facebook = , "$targetSupport/UnitySetup-Facebook-Games-Support-for-Editor-$Version.$installerExtension";
308308
[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";
311311
[UnitySetupComponent]::Mac_IL2CPP = , "$targetSupport/UnitySetup-Mac-IL2CPP-Support-for-Editor-$Version.$installerExtension";
312312
[UnitySetupComponent]::Vuforia = , "$targetSupport/UnitySetup-Vuforia-AR-Support-for-Editor-$Version.$installerExtension";
313313
[UnitySetupComponent]::WebGL = , "$targetSupport/UnitySetup-WebGL-Support-for-Editor-$Version.$installerExtension";
@@ -1075,8 +1075,8 @@ function Get-UnitySetupInstance {
10751075
}
10761076
}
10771077

1078-
Get-ChildItem $BasePath -Directory | Where-Object {
1079-
Test-Path (Join-Path $_.FullName 'Editor\Unity.exe') -PathType Leaf
1078+
Get-ChildItem $BasePath -Directory | Where-Object {
1079+
Test-Path (Join-Path $_.FullName 'Editor\Unity.exe') -PathType Leaf
10801080
} | ForEach-Object {
10811081
$path = $_.FullName
10821082
try {
@@ -1126,7 +1126,7 @@ function Get-UnitySetupInstanceVersion {
11261126
return [UnityVersion]$Matches[0]
11271127
}
11281128
}
1129-
1129+
11301130
if ( Test-Path "$path\Editor" -PathType Container ) {
11311131
# We'll attempt to search for the version using the ivy.xml definitions for legacy editor compatibility.
11321132

@@ -1136,12 +1136,12 @@ function Get-UnitySetupInstanceVersion {
11361136
if ( $null -eq $ivy ) { continue; }
11371137

11381138
Write-Verbose "`tLooking for version in $($ivy.FullName)"
1139-
1139+
11401140
[xml]$xmlDoc = Get-Content $ivy.FullName
11411141

11421142
[string]$version = $xmlDoc.'ivy-module'.info.unityVersion
11431143
if ( -not $version ) { continue; }
1144-
1144+
11451145
Write-Verbose "`tFound version!"
11461146
return [UnityVersion]$version
11471147
}

0 commit comments

Comments
 (0)