Skip to content

Commit 5527723

Browse files
committed
fix(ci): 修复 GitHub Action 打包的 AppImage 语言切换无效
1 parent 1beb900 commit 5527723

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ubuntu.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ jobs:
6969
- name: Check if svg file exists
7070
run: if [ ! -f "${targetName}.svg" ]; then echo "File not found, creating..."; touch ${targetName}.svg; fi
7171

72+
- name: Copy translation files
73+
run: |
74+
mkdir -p bin/release/usr/bin/
75+
cp -r bin/Release/i18n/ bin/release/usr/bin/i18n/
76+
7277
- name: package
7378
run: |
7479
# make sure Qt plugin finds QML sources so it can deploy the imported files

0 commit comments

Comments
 (0)