diff options
author | Hello=) <hello@themanaworld.org> | 2025-01-28 03:06:48 +0300 |
---|---|---|
committer | Hello=) <hello@themanaworld.org> | 2025-01-28 03:06:48 +0300 |
commit | 8063e065fd7cd92e3760870913252390cc1bf46d (patch) | |
tree | 7474508645654dcd8374d73073d2fe10dfe29242 /client | |
parent | 1ff4530284a8512020950de961298df6ec91e24f (diff) | |
download | tools-8063e065fd7cd92e3760870913252390cc1bf46d.tar.gz tools-8063e065fd7cd92e3760870913252390cc1bf46d.tar.bz2 tools-8063e065fd7cd92e3760870913252390cc1bf46d.tar.xz tools-8063e065fd7cd92e3760870913252390cc1bf46d.zip |
Build system: add jpg images support (HoraK needed it on one map)
Diffstat (limited to 'client')
-rwxr-xr-x | client/make-updates.sh | 4 |
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 |