|
本帖最后由 slore 于 2024-11-13 23:24 编辑
参考,补上多出来的语言目录名就行了。
D:\Dev\WimBuilder2\Projects\WIN10XPE\za-Slim\SlimWim.bat
- :REMOVE_MUI
- rem always keep en-US
- call :_REMOVE_MUI "%~1" "ar-SA bg-BG ca-ES cs-CZ da-DK de-DE el-GR en-GB es-ES eu-ES es-MX et-EE fi-FI fr-CA fr-FR"
- call :_REMOVE_MUI "%~1" "gl-ES he-IL hr-HR hu-HU id-ID it-IT ja-JP ko-KR lt-LT lv-LV nb-NO nl-NL pl-PL pt-BR pt-PT"
- call :_REMOVE_MUI "%~1" "qps-ploc ro-RO ru-RU sk-SK sl-SI sr-Latn-RS sv-SE th-TH tr-TR uk-UA vi-VN zh-CN zh-TW"
- goto :EOF
- :_REMOVE_MUI
- for %%i in (%~2) do (
- if not "x%%i"=="x%WB_PE_LANG%" (
- (echo delete "%~1\%%i" --force --recursive)>>"%WB_TMP_PATH%\SlimPatch.txt"
- )
- )
- goto :EOF
复制代码
call :_REMOVE_MUI "%~1" "af-ZA am-ET as-IN az-Latn-AZ be-BY bn-IN bs-Latn-BA ca-ES-valencia chr-CHER-US cy-GB" |
|