Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Dec 8, 2024
1 parent 609cd1e commit 197bd21
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .ci/package-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ 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/*.*
echo "---------- $SCHEMA_DIR/* ----------"
echo "---------- 1: $SCHEMA_DIR ----------"
ls "$SCHEMA_DIR"
echo "---------- 2: $SCHEMA_DIR/* ----------"
ls "$SCHEMA_DIR/*"
echo "---------- $(realpath ../../schema)/* ----------"
echo "---------- 3: $(realpath ../../schema)/* ----------"
ls $(realpath ../../schema)/*
cp -rf "$SCHEMA_DIR/*" SharedSupport
popd
Expand Down
2 changes: 1 addition & 1 deletion .ci/package-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cp -rf "$SCHEMA_DIR/*" data
mkdir ../resource
wget https://raw.githubusercontent.com/rime/weasel/refs/tags/${WEASEL_VERSION}/resource/weasel.ico -P ../resource
wget https://raw.githubusercontent.com/rime/weasel/refs/tags/${WEASEL_VERSION}/output/install.nsi
perl -0777 -i -pe 's/!include winVer\.nsh/!include WinVer.nsh/' install.nsi
# perl -0777 -i -pe 's/!include winVer\.nsh/!include WinVer.nsh/' install.nsi
makensis.exe //DWEASEL_VERSION=$WEASEL_VERSION //DPRODUCT_VERSION=$WEASEL_VERSION install.nsi

# Rename the installer
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
./install_nsis.bat
export SCHEMA_DIR="$PWD/schema"
export PATH="/c/Program Files (x86)/NSIS/Bin:$PATH"
echo "---------- WinVer.nsi ----------"
cat "/c/Program Files (x86)/NSIS/Include/WinVer.nsi"
echo "---------- End of WinVer.nsi ----------"
./.ci/package-windows.sh
- name: Upload Artifact
if: inputs.event_name == 'push' || steps.check_version.outcome == 'success'
Expand Down

0 comments on commit 197bd21

Please sign in to comment.