Skip to content

Commit

Permalink
What if
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Dec 4, 2024
1 parent f4658cb commit c32f75a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .ci/package-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pushd Squirrel.app/Contents
# Then, download the latest schemas we need and amend the `default.yaml`
rm SharedSupport/*.*
export rime_dir=SharedSupport
"$SCRIPT_DIR/rime-install.sh"
source "$SCRIPT_DIR/rime-install.sh"
popd

# Compress back the application
Expand Down
12 changes: 2 additions & 10 deletions .ci/package-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,11 @@ for file in *_1.*; do
fi
done

echo "------- content of PWD -------"
ls
echo "------- content of Win32 -------"
ls Win32
echo "------- rime install -------"

# 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=$(mktemp -d -p "$PWD")
"$SCRIPT_DIR/rime-install.sh"
mv -f "$rime_dir/*" data
rm "$rime_dir"
export rime_dir=data
source "$SCRIPT_DIR/rime-install.sh"

# Finally, rebuild the installer
mkdir ../resource
Expand Down

0 comments on commit c32f75a

Please sign in to comment.