path %path%;"C:\Program Files (x86)\CodeAndWeb\TexturePacker\bin"
for /f "usebackq tokens=*" %%d in (`dir /s /b *.ccz`) do (
TexturePacker.exe --sheet "%%~dpnd.png" "%%d" --algorithm Basic --allow-free-size --no-trim
)
del *.ccz
del out.plist
pause
path %path%;"C:\Program Files (x86)\CodeAndWeb\TexturePacker\bin"
for /f "usebackq tokens=*" %%d in (`dir /s /b *.ccz`) do (
TexturePacker.exe --sheet "%%~dpnd.png" "%%d" --algorithm Basic --allow-free-size --no-trim
)
del *.ccz
del out.plist
pause
转载于:https://my.oschina.net/lyr/blog/278818