summaryrefslogtreecommitdiff
path: root/tools/build_scripts/bin15/MirUpdateStatrt86.bat
blob: 7c5c1949c903adf3e308677f9d1717db857b41ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Set Release=Release
Set MirDir=E:\MirandaNG\

for %%i IN (1) do call taskkill /T /IM miranda32.exe
if %errorlevel% ==0 (goto :EXIT) else (goto :ACT)
:EXIT
timeout 1
for %%i IN (1) do call taskkill /T /IM miranda32.exe
if %errorlevel% ==0 goto :EXIT

:ACT
pushd %Release%
rd /s /q OBJ >nul
popd
xcopy /S /Y "%Release%\*.dll" "%MirDir%"
xcopy /S /Y "%Release%\*.mir" "%MirDir%"
copy /V /Y "%Release%\Plugins\tox.ini" "%MirDir%\Plugins\"
copy /V /Y "%Release%\miranda*.exe" "%MirDir%"
del /F /S /Q "%Release%\*.dll" >> nul
del /F /S /Q "%Release%\*.mir" >> nul
del /F /Q "%Release%\miranda*.exe"
del /F /Q "%Release%\Plugins\tox.ini"

REM rd /S /Q "Release"

REM pushd %MirDir%
REM call rebaser.cmd
REM start /b miranda32.exe
REM cd Languages\Lang
REM svn update
REM popd

pushd "..\langpacks\tool"
LangpackSuite.exe \q \prussian \o"=MINE=.txt" \n%MirDir%\Languages\Langpack_russian.txt
popd

pushd %MirDir%
call rebaser.cmd
start /b miranda32.exe
popd