goldendict-ng/tools/generators/make_flags_qrc.sh
yifang 76f89a7a5a optimize:file structure rearrange
move generators and nsis into tools folder

generators is used to generate tranliteration header files.

nsis is too old to use.
2022-02-17 22:42:28 +08:00

18 lines
275 B
Bash
Executable file

#!/bin/sh
# This script generates ../flags.qrc based on the ../flags dir contents
cd ..
OUT=flags.qrc
echo "<RCC>" > $OUT
echo " <qresource>" >> $OUT
for x in flags/*.png; do
echo " <file>$x</file>" >> $OUT
done
echo " </qresource>" >> $OUT
echo "</RCC>" >> $OUT