Skip to content

Commit 34ae4f9

Browse files
authored
Merge pull request #57 from derekfreed/dev/importPackage
Adds ability to import packages with start-unityeditor
2 parents 0590bd0 + 31643d1 commit 34ae4f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,8 @@ function Start-UnityEditor
638638
[parameter(Mandatory=$false)]
639639
[string[]]$ExportPackage,
640640
[parameter(Mandatory=$false)]
641+
[string]$ImportPackage,
642+
[parameter(Mandatory=$false)]
641643
[string]$CreateProject,
642644
[parameter(Mandatory=$false)]
643645
[string]$OutputPath,
@@ -735,6 +737,7 @@ function Start-UnityEditor
735737
if( $BatchMode ) { $sharedArgs += "-batchmode" }
736738
if( $Quit ) { $sharedArgs += "-quit" }
737739
if( $ExportPackage ) { $sharedArgs += "-exportPackage","$ExportPackage" }
740+
if( $ImportPackage ) { $sharedArgs += "-importPackage","$ImportPackage" }
738741

739742
$instanceArgs = @()
740743
foreach( $p in $projectInstances ) {

0 commit comments

Comments
 (0)