Skip to content

Commit

Permalink
Правки скрипта сборки
Browse files Browse the repository at this point in the history
  • Loading branch information
MahBoiDeveloper committed Oct 18, 2024
1 parent b0c9b0f commit 497b12d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file removed Source/Resources/Translations/ru/buttonTemplate.psd
Binary file not shown.
2 changes: 2 additions & 0 deletions runTest.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@echo off

call zBuild.bat

: Копирование файлов в папку _Test
mkdir _Test
xcopy /h /y /c /r /s Source\ _Test\
Expand Down
4 changes: 4 additions & 0 deletions zBuild.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@echo off
chcp 65001 > nul
set mixfolder=Build\Resources\Translations\ru\MIX
set defaultfolder=Build\Resources\Translations\en\MIX

echo Delete build cache...
rmdir /q /s Build > nul 2> nul
Expand All @@ -9,9 +10,12 @@ mkdir Build
echo Copy files...
xcopy Source\* Build\* /e /y

mkdir %defaultfolder%

for /f "tokens=*" %%f in ('dir "%mixfolder%\" /a:d /b') do (
echo Compiling %%f.mix...
Tools\ccmix.exe --create --lmd --game=ts --dir "%mixfolder%\%%f" --mix "%mixfolder%\%%f.mix"
copy "%mixfolder%\%%f.mix" "%defaultfolder%\%%f.mix"
rmdir /q /s "%mixfolder%\%%f"
)

Expand Down

0 comments on commit 497b12d

Please sign in to comment.