summaryrefslogtreecommitdiff
path: root/tools/build_scripts/bin15/MirUpdateStatrt86.bat
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@gmail.com>2017-08-05 18:28:13 +0300
committerwatcherhd <watcherhd@gmail.com>2017-08-05 18:28:13 +0300
commit760c3ae475b4b39b486f72c7adb8c1f1d83b440f (patch)
treee3e08ebf880462db266321b8e1528f11d1b71cdf /tools/build_scripts/bin15/MirUpdateStatrt86.bat
parent6b3e2962bcf7917e0593da3f5c3605e923889fe2 (diff)
build scripts for those who are willing to keep it all going
Diffstat (limited to 'tools/build_scripts/bin15/MirUpdateStatrt86.bat')
-rw-r--r--tools/build_scripts/bin15/MirUpdateStatrt86.bat40
1 files changed, 40 insertions, 0 deletions
diff --git a/tools/build_scripts/bin15/MirUpdateStatrt86.bat b/tools/build_scripts/bin15/MirUpdateStatrt86.bat
new file mode 100644
index 0000000000..7c5c1949c9
--- /dev/null
+++ b/tools/build_scripts/bin15/MirUpdateStatrt86.bat
@@ -0,0 +1,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 \ No newline at end of file