mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-27 01:56:30 +08:00
Add: New Run tool
- The previous tool was kept under the name of alas2.bat and will be removed after feedback on the current tool
This commit is contained in:
19
command/LanguageSet.bat
Normal file
19
command/LanguageSet.bat
Normal file
@@ -0,0 +1,19 @@
|
||||
@rem
|
||||
:: Used for "ADT-V4.bat" in ==Preparation==
|
||||
:: No %cd% limit.
|
||||
:: e.g.
|
||||
:: call command\LanguageSet.bat
|
||||
:: Get system language -> %Language%
|
||||
|
||||
:: By default, set language to "en" and Region to "origin"
|
||||
set "Language=en" && set "Region=origin"
|
||||
:: Then enumerate all the existing translations.
|
||||
chcp | find "65001" >NUL && set "Language=en" && set "Region=origin"
|
||||
chcp | find "936" >NUL && set "Language=zh" && set "Region=cn"
|
||||
chcp | find "950" >NUL && set "Language=cht" && set "Region=cn"
|
||||
:: ... etc.
|
||||
goto :eof
|
||||
|
||||
REM chcp 65001
|
||||
|
||||
:: chcp | find "936" >NUL && set "Language=zh" || set "Language=en"
|
||||
Reference in New Issue
Block a user