diff --git a/.ci/package-mac.sh b/.ci/package-mac.sh index 4f4cc130..f1dae988 100644 --- a/.ci/package-mac.sh +++ b/.ci/package-mac.sh @@ -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 diff --git a/.ci/package-windows.sh b/.ci/package-windows.sh index dcd2fbb5..0edad688 100644 --- a/.ci/package-windows.sh +++ b/.ci/package-windows.sh @@ -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 diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index b95addd5..6cad04b4 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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'