Add cht to build.py and release.yml (#110)

* Add cht to build.py

* Add cht to release.yml
This commit is contained in:
CHLBC 2024-08-09 18:56:59 +08:00 committed by GitHub
parent 97fd0d32e6
commit ae81a3ee11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -12,6 +12,7 @@ jobs:
- target: Release_English_winxp
- target: Release_Chinese_winxp
- target: Release_Russian_winxp
- target: Release_TradChinese_winxp
permissions:
id-token: write
attestations: write
@ -120,6 +121,7 @@ jobs:
- target: Release_English
- target: Release_Chinese
- target: Release_Russian
- target: Release_TradChinese
permissions:
id-token: write
attestations: write
@ -161,4 +163,4 @@ jobs:
files: builds/${{ matrix.target }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -69,9 +69,13 @@ else:
build_langx("Chinese")
elif sys.argv[1] == "Release_Russian":
build_langx("Russian")
elif sys.argv[1] == "Release_TradChinese":
build_langx("TradChinese")
elif sys.argv[1] == "Release_English_winxp":
build_langx_xp("English")
elif sys.argv[1] == "Release_Chinese_winxp":
build_langx_xp("Chinese")
elif sys.argv[1] == "Release_Russian_winxp":
build_langx_xp("Russian")
elif sys.argv[1] == "Release_TradChinese_winxp":
build_langx_xp("TradChinese")