fix: fix code set issue in OTA packer

This commit is contained in:
Horror Proton
2023-01-18 00:58:03 +08:00
parent 7b57c1d47e
commit dab8ead01b

View File

@@ -19,7 +19,7 @@ while read tag; do
gh release download "$tag" --repo $source_repo --pattern "MAA-$tag-win-x64.zip" --pattern "MaaBundle-$tag.zip" --clobber \
|| gh release download "$tag" --repo $source_repo_fallback --pattern "MAA-$tag-win-x64.zip" --pattern "MaaBundle-$tag.zip" --clobber
mkdir -pv 'content'
unzip -q -O gbk -o "*.zip" -d 'content'
unzip -q -O GB2312 -o "*.zip" -d 'content'
rm -fv *.zip
cd $working_dir
else