summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2025-02-11 20:29:24 +0000
committerLed Mitz <smoothshifter@tuta.io>2025-02-11 20:29:24 +0000
commitcb7c458725850bcb821ab7a88a871448e4fe6937 (patch)
tree7474508645654dcd8374d73073d2fe10dfe29242
parent1ff4530284a8512020950de961298df6ec91e24f (diff)
parent8063e065fd7cd92e3760870913252390cc1bf46d (diff)
downloadtools-cb7c458725850bcb821ab7a88a871448e4fe6937.tar.gz
tools-cb7c458725850bcb821ab7a88a871448e4fe6937.tar.bz2
tools-cb7c458725850bcb821ab7a88a871448e4fe6937.tar.xz
tools-cb7c458725850bcb821ab7a88a871448e4fe6937.zip
Merge branch 'tools-jpg-files-support' into 'master'
Build system: add jpg images support (HoraK needed it on one map) See merge request legacy/tools!45
-rwxr-xr-xclient/make-updates.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/make-updates.sh b/client/make-updates.sh
index 121e607..dba3bde 100755
--- a/client/make-updates.sh
+++ b/client/make-updates.sh
@@ -63,11 +63,11 @@ pushd $cdata &>/dev/null
if [ "$UPDATE_HTTP" == "none" ] ; then
echo -e "\e[96m>> Changing last modified dates...\e[0m"
- find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -exec touch --date=2015-01-01 {} \;
+ find -iregex ".+[.]\(xml\|png\|jpg\|tmx\|ogg\|txt\|po\|tsx\)" -exec touch --date=2015-01-01 {} \;
fi
echo -e "\e[96m>> Compressing files...\e[0m"
-find -path ./music -prune -o -path ./mods -prune -o -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X -@ $dir/files/TMW.zip
+find -path ./music -prune -o -path ./mods -prune -o -iregex ".+[.]\(xml\|png\|jpg\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X -@ $dir/files/TMW.zip
find -path ./sfx -prune -o -path ./mods -prune -o -iregex ".+[.]\(ogg\)" -printf "%P\n" | zip -X -@ $dir/files/TMW-music.zip
#find ./mods -printf "%P\n" | zip -X -@ $dir/files/TMW-mods.zip
find ./mods -type f | xargs zip -9 -r $dir/files/TMW-mods.zip