simplify
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
SET PATH=%PATH%;c:\stepmania\stepmania\utils
|
||||
forfiles -p.. -s -m*.png -c"pngcrushinplace.bat 0x22@FILE0x22 0x22@FILEtemp0x22"
|
||||
forfiles -p.. -s -m*.png -c"pngcrushinplace.bat 0x22@FILE0x22"
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
pngcrush %1 %2
|
||||
del %1
|
||||
rename %2 %1
|
||||
@echo off
|
||||
SET file=%1
|
||||
SET tempfile=%file%.TEMP
|
||||
echo %file%
|
||||
pngcrush -q %file% %tempfile%
|
||||
del %file%
|
||||
rename %tempfile% %file%
|
||||
|
||||
Reference in New Issue
Block a user