Nifty. Thanks for this.
@echo off<br />
REM Batch file to recursively zip align *.apk files in a directory<br />
REM and its sub-directories. This is significantly easier and faster<br />
REM than manually zip aligning them.<br />
@echo Zip aligning now...<br />
for /R %%X in (*.apk) do zipalign 4 "%%X" "%%~dpX%%~nX.new"<br />
@echo Replacing non-aligned files with zip aligned files...<br />
for /R %%X in (*.new) do move /Y "%%X" "%%~dpX%%~nX.apk"<br />
@echo Zip aligning done, press any key to exit<br />
pause
No problem. Not that zip aligning does to much, but I feel if it were simple, people may actually use it more often. I may try to make one for Linux/Unix then as well, since there are likely significantly more people doing work in Linux compared to Windows.DrMacinyasha said:Nifty. Thanks for this.