Skip to content

Commit

Permalink
chore: 适配玉兔毫新版
Browse files Browse the repository at this point in the history
  • Loading branch information
0x696c757a696f committed Sep 19, 2024
1 parent 07d93cb commit b2f7118
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,20 @@ jobs:
mkdir -p Rabbit
unzip rabbit-${{ env.RELEASE_TAG }}.zip -d Rabbit
- name: Clean SharedSupport
- name: Clean Data
run: |
mkdir -p /tmp/Rabbit_backup
cp Rabbit/SharedSupport/punctuation.yaml /tmp/Rabbit_backup/
cp Rabbit/SharedSupport/key_bindings.yaml /tmp/Rabbit_backup/
cp Rabbit/SharedSupport/default.yaml /tmp/Rabbit_backup/
rm -rf Rabbit/SharedSupport/*
cp /tmp/Rabbit_backup/* Rabbit/SharedSupport/
cp Rabbit/Data/punctuation.yaml /tmp/Rabbit_backup/
cp Rabbit/Data/key_bindings.yaml /tmp/Rabbit_backup/
cp Rabbit/Data/default.yaml /tmp/Rabbit_backup/
cp Rabbit/Data/symbols.yaml /tmp/Rabbit_backup/
rm -rf Rabbit/Data/*
cp /tmp/Rabbit_backup/* Rabbit/Data/
rm -rf /tmp/Rabbit_backup
- name: Merge Rime into Rabbit
run: |
cp -r Rime/. Rabbit/SharedSupport
cp -r Rime/. Rabbit/Data
zip -r Rabbit-xmjd6.zip Rabbit/
- name: Convert .dict.yaml files to .txt using Bash
Expand Down

0 comments on commit b2f7118

Please sign in to comment.