Skip to content

Commit

Permalink
Try fixing directory
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Dec 3, 2024
1 parent 200847c commit 449b5b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .ci/package-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ pushd Squirrel.app/Contents

# Remove all default rime schemas but keep opencc data
# Then, download the latest schemas we need and amend the `default.yaml`
rm SharedSupport/*.*
export rime_dir=SharedSupport
rm ./SharedSupport/*.*
export rime_dir=./SharedSupport
"$SCRIPT_DIR/rime-install.sh"
popd

Expand Down
4 changes: 2 additions & 2 deletions .ci/package-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ done

# Remove all default rime schemas but keep opencc data and preview images
# Then, download the latest schemas we need and amend the `default.yaml`
rm data/*.*
export rime_dir=data
rm ./data/*.*
export rime_dir=./data
"$SCRIPT_DIR/rime-install.sh"

# Finally, rebuild the installer
Expand Down
2 changes: 0 additions & 2 deletions .ci/rime-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@ schema_list:\
- schema: luna_pinyin\
' default.yaml > default.yaml # avoid behavioral difference of the --in-place option
sed 's/page_size: [0-9]\+/page_size: 8/' default.yaml > default.yaml
echo "$PWD"
ls .
rm emoji_cantonese_suggestion.yaml
fi

0 comments on commit 449b5b3

Please sign in to comment.