Files
GS13NG/tools/CreditsTool/UpdateCreditsDMI.sh
Poojawa 235236c5a9 updates tool folder (#2905)
* updates tool folder

* impliments #2874 changes
2017-09-22 21:56:34 -05:00

14 lines
364 B
Bash

#!/bin/bash
#If you hit github's rate limit, add a 3rd parameter here that is a github personal access token
./CreditsTool tgstation tgstation
rm ../../icons/credits.dmi
for filename in credit_pngs/*.png; do
realname=$(basename "$filename")
java -jar ../dmitool/dmitool.jar import ../../icons/credits.dmi "${realname%.*}" "$filename"
done
rm -rf credit_pngs