Skip to content

Commit df19a95

Browse files
committed
Add support for exporting packages
1 parent efde096 commit df19a95

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
@@ -554,6 +554,8 @@ function Start-UnityEditor
554554
[parameter(Mandatory=$false)]
555555
[string]$ExecuteMethod,
556556
[parameter(Mandatory=$false)]
557+
[string[]]$ExportPackage,
558+
[parameter(Mandatory=$false)]
557559
[string]$OutputPath,
558560
[parameter(Mandatory=$false)]
559561
[string]$LogFile,
@@ -646,6 +648,7 @@ function Start-UnityEditor
646648
if( $BuildTarget ) { $sharedArgs += "-buildTarget", $BuildTarget }
647649
if( $BatchMode ) { $sharedArgs += "-batchmode" }
648650
if( $Quit ) { $sharedArgs += "-quit" }
651+
if( $ExportPackage ) { $sharedArgs += "-exportPackage","$ExportPackage" }
649652

650653
$instanceArgs = @()
651654
foreach( $p in $projectInstances ) {

0 commit comments

Comments
 (0)