change translations location to a correct one (probably)

This commit is contained in:
FlexBy420 2025-10-24 22:07:31 +02:00 committed by Megamouse
parent a6c0433a2e
commit d73a7e0ff3
2 changed files with 4 additions and 4 deletions

View File

@ -32,12 +32,12 @@ rm -rf "rpcs3.app/Contents/Frameworks/QtPdf.framework" \
../../.ci/optimize-mac.sh rpcs3.app
# Download translations
mkdir -p "rpcs3.app/Contents/translations"
mkdir -p "rpcs3.app/Contents/Resources/translations"
curl -fsSL "https://api.github.com/repos/RPCS3/rpcs3_translations/contents/qm" \
| grep '"download_url":' \
| cut -d '"' -f 4 \
| while read -r url; do
curl -fsSL "$url" -o "rpcs3.app/Contents/translations/$(basename "$url")"
curl -fsSL "$url" -o "rpcs3.app/Contents/Resources/translations/$(basename "$url")"
done
# Hack

View File

@ -33,12 +33,12 @@ rm -rf "rpcs3.app/Contents/Frameworks/QtPdf.framework" \
../../.ci/optimize-mac.sh rpcs3.app
# Download translations
mkdir -p "rpcs3.app/Contents/translations"
mkdir -p "rpcs3.app/Contents/Resources/translations"
curl -fsSL "https://api.github.com/repos/RPCS3/rpcs3_translations/contents/qm" \
| grep '"download_url":' \
| cut -d '"' -f 4 \
| while read -r url; do
curl -fsSL "$url" -o "rpcs3.app/Contents/translations/$(basename "$url")"
curl -fsSL "$url" -o "rpcs3.app/Contents/Resources/translations/$(basename "$url")"
done
# Need to do this rename hack due to case insensitive filesystem