mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-25 05:24:06 +00:00
18 lines
275 B
Bash
18 lines
275 B
Bash
|
#!/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
|