Skip to content

Commit

Permalink
Makebuild script should delete any Thumbs.db files before creating sl…
Browse files Browse the repository at this point in the history
…ade.pk3
  • Loading branch information
sirjuddington committed Sep 29, 2015
1 parent b3ceb60 commit bd7223f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dist/makebuild.ps1
Expand Up @@ -36,8 +36,12 @@ if (Test-Path "$pk3path")
Remove-Item "$pk3path"
}

# Build pk3
# Clean out Thumbs.db files from res folder
Write-Host "`nRemoving Thumbs.db files..." -foregroundcolor yellow
$resdir = (resolve-path ".\res").path
Get-ChildItem -Path . -Include Thumbs.db -Recurse -Name -Force | Remove-Item -Force

# Build pk3
Write-Host "`nBuilding slade.pk3..." -foregroundcolor yellow
& $7zpath a -tzip $pk3path "$resdir\*" | out-null
Write-Host "Done" -foregroundcolor green
Expand Down

0 comments on commit bd7223f

Please sign in to comment.