Skip to content

Commit 7a444d4

Browse files
authored
Merge pull request #227 from jwittner/dev/linuxIL2CPP
Support Linux_IL2CPP component
2 parents 6dd8910 + 8155050 commit 7a444d4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ enum UnitySetupComponent {
2121
WebGL = (1 -shl 13)
2222
Mac_IL2CPP = (1 -shl 14)
2323
Lumin = (1 -shl 15)
24-
All = (1 -shl 16) - 1
24+
Linux_IL2CPP = (1 -shl 16)
25+
All = (1 -shl 17) - 1
2526
}
2627

2728
[Flags()]
@@ -68,7 +69,8 @@ class UnitySetupInstance {
6869
[UnitySetupComponent]::UWP = [io.path]::Combine("$playbackEnginePath", "MetroSupport\Templates\UWP_.NET_D3D"),
6970
[io.path]::Combine("$playbackEnginePath", "MetroSupport\Templates\UWP_D3D");
7071
[UnitySetupComponent]::UWP_IL2CPP = , [io.path]::Combine("$playbackEnginePath", "MetroSupport\Templates\UWP_IL2CPP_D3D");
71-
[UnitySetupComponent]::Linux = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport");
72+
[UnitySetupComponent]::Linux = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport\Variations\linux64_headless_development_mono");
73+
[UnitySetupComponent]::Linux_IL2CPP = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport\Variations\linux64_headless_development_il2cpp");
7274
[UnitySetupComponent]::Mac = , [io.path]::Combine("$playbackEnginePath", "MacStandaloneSupport");
7375
}
7476
}
@@ -85,7 +87,8 @@ class UnitySetupInstance {
8587
[UnitySetupComponent]::StandardAssets = , [io.path]::Combine("$Path", "Standard Assets");
8688
[UnitySetupComponent]::Mac_IL2CPP = , [io.path]::Combine("$playbackEnginePath", "MacStandaloneSupport/Variations/macosx64_development_il2cpp");
8789
[UnitySetupComponent]::Windows = , [io.path]::Combine("$playbackEnginePath", "WindowsStandaloneSupport");
88-
[UnitySetupComponent]::Linux = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport");
90+
[UnitySetupComponent]::Linux = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport/Variations/linux64_headless_development_mono");
91+
[UnitySetupComponent]::Linux_IL2CPP = , [io.path]::Combine("$playbackEnginePath", "LinuxStandaloneSupport/Variations/linux64_headless_development_il2cpp");
8992
}
9093
}
9194
}
@@ -409,6 +412,7 @@ function Find-UnitySetupInstaller {
409412
[UnitySetupComponent]::WebGL = , "$targetSupport/UnitySetup-WebGL-Support-for-Editor-$Version.$installerExtension";
410413
[UnitySetupComponent]::Windows_IL2CPP = , "$targetSupport/UnitySetup-Windows-IL2CPP-Support-for-Editor-$Version.$installerExtension";
411414
[UnitySetupComponent]::Lumin = , "$targetSupport/UnitySetup-Lumin-Support-for-Editor-$Version.$installerExtension";
415+
[UnitySetupComponent]::Linux_IL2CPP = , "$targetSupport/UnitySetup-Linux-IL2CPP-Support-for-Editor-$Version.$installerExtension";
412416
}
413417

414418
# In 2019.x there is only IL2CPP UWP so change the search for UWP_IL2CPP

0 commit comments

Comments
 (0)