Skip to content

Commit d9469f2

Browse files
authored
Update unitypackage.ps1 (#10546)
1 parent 5837862 commit d9469f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/packaging/unitypackage.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ foreach ($entry in $packages.GetEnumerator()) {
210210
"-exportPackage $exportPackages " +
211211
"-logFile $logFileName"
212212

213+
New-Item -Path $logFileName -ItemType File -Force
214+
213215
# Starts the Unity process, and the waits (and shows output from the editor in the console
214216
# while the process is still running.)
215217
$proc = Start-Process -FilePath "$unityEditor" -ArgumentList "$unityArgs" -PassThru
@@ -243,4 +245,4 @@ foreach ($entry in $packages.GetEnumerator()) {
243245
if ($exitCode -ne 0) {
244246
exit $exitCode
245247
}
246-
}
248+
}

0 commit comments

Comments
 (0)