mkqrc.sh@7ad8fb667084
mkqrc.sh
Sun, 07 Sep 2014 22:55:44 +0300
- author
- Teemu Piippo <crimsondusk64@gmail.com>
- date
- Sun, 07 Sep 2014 22:55:44 +0300
- changeset 888
- 7ad8fb667084
- parent 455
-
c5d14d112034
- permissions
- -rwxr-xr-x
- improved part downloader: now asks for the path instead of just directing the user to settings. auto-fix download now configurable and opt-in
#!/bin/bash
QRCFILE=ldforge.qrc
FILES=$(echo ./icons/*.* data/*.* LICENSE LICENSE.icons)
printf "" > $QRCFILE
printf "<!DOCTYPE RCC>\n<RCC version=\"1.0\">\n<qresource>\n" >> $QRCFILE
for f in $FILES; do
printf "\t<file>$f</file>\n" >> $QRCFILE
done
printf "</qresource>\n</RCC>\n" >> $QRCFILE