Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- REM If you use LibreOffice in a language other than english, then
- REM please uncomment the below line and add its language code
- REM SET keep_lang1=zh-CN
- rmdir fonts /s /q
- rmdir readmes /s /q
- rmdir win /s /q
- del /Q *.msi
- cd program
- rename resource resource_old
- mkdir resource
- move resource_old\*-US.res resource
- IF DEFINED keep_lang1 move resource_old\*%keep_lang1%.res resource
- rmdir resource_old /s /q
- cd ..\share\registry
- rename res res_old
- mkdir res
- move res_old\*_en-US.xcd res
- IF DEFINED keep_lang1 move res_old\*_%keep_lang1%.xcd res
- rmdir res_old /s /q
- cd ..
- rename extensions extensions_old
- mkdir extensions
- move extensions_old\package.txt extensions
- move extensions_old\dict-en extensions
- IF DEFINED keep_lang1 move extensions_old\dict-*%keep_lang1% extensions
- rmdir extensions_old /s /q
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement