Skip to content

Commit

Permalink
Merge pull request #2 from OpenRCT2/modify-output
Browse files Browse the repository at this point in the history
Package replays into root of zip
  • Loading branch information
ZehMatt authored Aug 11, 2019
2 parents 40d7e4c + cf613e8 commit b7052b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ if (Get-Command "zip" -ErrorAction SilentlyContinue)

Write-Host -ForegroundColor Cyan "Re-creating artifacts directory..."
Remove-Item -Force -Recurse artifacts -ErrorAction SilentlyContinue
New-Item -Force -ItemType Directory artifacts,artifacts/replays | Out-Null
New-Item -Force -ItemType Directory artifacts | Out-Null

Write-Host -ForegroundColor Cyan "Copying replays..."
Push-Location replays
Copy-Item -Recurse ../replays ../artifacts/replays
Copy-Item -Recurse ../replays ../artifacts/
Pop-Location

Write-Host -ForegroundColor Cyan "Creating final archive..."
Expand Down

0 comments on commit b7052b1

Please sign in to comment.