From dab8ead01b327b2c4f93fbb36190a0b2a7f22439 Mon Sep 17 00:00:00 2001 From: Horror Proton <107091537+horror-proton@users.noreply.github.com> Date: Wed, 18 Jan 2023 00:58:03 +0800 Subject: [PATCH] fix: fix code set issue in OTA packer --- tools/OTAPacker/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OTAPacker/build.sh b/tools/OTAPacker/build.sh index 011b2f082a..24981baf83 100755 --- a/tools/OTAPacker/build.sh +++ b/tools/OTAPacker/build.sh @@ -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