Merge pull request #581 from lucky9loogn/fix/github-action-appimage-language-switch-not-working

fix(ci): 修复 GitHub Action 打包的 AppImage 语言切换无效
This commit is contained in:
zhuzichu 2024-12-27 09:13:48 +08:00 committed by GitHub
commit fb720b29ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,6 +69,11 @@ jobs:
- name: Check if svg file exists
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
run: |
# make sure Qt plugin finds QML sources so it can deploy the imported files