fix(ci): 修复 GitHub Action 打包的 AppImage 语言切换无效

This commit is contained in:
lucky9loogn 2024-12-26 23:23:34 +08:00
parent 1beb900455
commit 552772391c

View File

@ -69,6 +69,11 @@ jobs:
- name: Check if svg file exists - name: Check if svg file exists
run: if [ ! -f "${targetName}.svg" ]; then echo "File not found, creating..."; touch ${targetName}.svg; fi run: if [ ! -f "${targetName}.svg" ]; then echo "File not found, creating..."; touch ${targetName}.svg; fi
- name: Copy translation files
run: |
mkdir -p bin/release/usr/bin/
cp -r bin/Release/i18n/ bin/release/usr/bin/i18n/
- name: package - name: package
run: | run: |
# make sure Qt plugin finds QML sources so it can deploy the imported files # make sure Qt plugin finds QML sources so it can deploy the imported files