diff --git a/.ci/package-mac.sh b/.ci/package-mac.sh index e8eb41b5..9895201e 100644 --- a/.ci/package-mac.sh +++ b/.ci/package-mac.sh @@ -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 diff --git a/.ci/package-windows.sh b/.ci/package-windows.sh index e9469879..d94805bf 100644 --- a/.ci/package-windows.sh +++ b/.ci/package-windows.sh @@ -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 diff --git a/.ci/rime-install.sh b/.ci/rime-install.sh index d3073cbf..507b7736 100644 --- a/.ci/rime-install.sh +++ b/.ci/rime-install.sh @@ -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