Skip to content

Commit 2e1f8f3

Browse files
Merge branch 'develop' into dev-lumin-component-installer
2 parents 17f4123 + d4db5cd commit 2e1f8f3

File tree

3 files changed

+588
-80
lines changed

3 files changed

+588
-80
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ Find all the Unity projects recursively:
5555
Get-UnityProjectInstance -Recurse
5656
5757
# Example output:
58-
# Version Path
59-
# ------- ----
60-
# 2017.2.0f3 C:\Projects\Project1\OneUnity\
61-
# 2017.3.0f3 C:\Projects\Project1\TwoUnity\
62-
# 2017.1.1p1 C:\Projects\Project2\
63-
# 2017.1.2f1 C:\Projects\Project3\App.Unity\
58+
# Version Path ProductName
59+
# ------- ---- -----------
60+
# 2017.2.0f3 C:\Projects\Project1\OneUnity\ Contoso
61+
# 2017.3.0f3 C:\Projects\Project1\TwoUnity\ Northwind
62+
# 2017.1.1p1 C:\Projects\Project2\ My Cool App
63+
# 2017.1.2f1 C:\Projects\Project3\App.Unity\ TemplateProject
6464
```
6565
Launch the right Unity editor for a project:
6666
```powershell
@@ -73,6 +73,10 @@ Launch many projects at the same time:
7373
```powershell
7474
Get-UnityProjectInstance -Recurse | Start-UnityEditor
7575
```
76+
Invoke methods with arbitrary arguments:
77+
```powershell
78+
Start-UnityEditor -ExecuteMethod Build.Invoke -BatchMode -Quit -LogFile .\build.log -Wait -AdditionalArguments "-BuildArg1 -BuildArg2"
79+
```
7680
Find the installers for a particular version:
7781
```powershell
7882
Find-UnitySetupInstaller -Version '2017.3.0f3' | Format-Table

UnitySetup/UnitySetup.psd1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
RootModule = 'UnitySetup'
1515

1616
# Version number of this module.
17-
ModuleVersion = '5.0'
17+
ModuleVersion = '5.1'
1818

1919
# Supported PSEditions
2020
# CompatiblePSEditions = @()
@@ -76,8 +76,11 @@
7676

7777
FunctionsToExport = @(
7878
'Find-UnitySetupInstaller',
79+
'Select-UnitySetupInstaller',
80+
'Test-UnitySetupInstance',
7981
'Get-UnityProjectInstance',
8082
'Get-UnitySetupInstance',
83+
'Request-UnitySetupInstaller',
8184
'Install-UnitySetupInstance',
8285
'Select-UnitySetupInstance',
8386
'Uninstall-UnitySetupInstance',

0 commit comments

Comments
 (0)