Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set MIRDIR=d:\miranda-ng
- set PLUGDIR=Release
- echo [ Updater by Radjah ]
- echo.
- echo [*] Updating sources...
- cd ..
- svn up
- cd bin10
- echo.
- echo [*] Building...
- del /f /q build.log
- start /wait devenv /OUT build.log mir_full_pro.sln /Build
- echo.
- echo [*] Generating russian langpack..
- cd ..\langpacks\ru\
- LangpackSuite.exe \q \nLangpack_russian
- cd ..\..\bin10
- echo.
- echo [*] Closing Miranda NG...
- %PLUGDIR%\MimCmd.exe quit
- echo [*] Waiting...
- ping 127.0.0.1 -n 10 > null
- taskkill /im /f miranda32.exe
- echo [*] Installing Core...
- xcopy %PLUGDIR% %MIRDIR% /Y /EXCLUDE:exclude.lst
- echo.
- echo [*] Installing icons...
- xcopy %PLUGDIR%\Icons %MIRDIR%\Icons /Y /E
- echo.
- echo [*] Installing Core plugins...
- xcopy %PLUGDIR%\Core %MIRDIR%\Core /Y /E /EXCLUDE:exclude.lst
- echo.
- echo [*] Downloading binary plugins...
- for /F %%i in (pluginsdl.lst) do (
- echo ...%%i
- wget http://miranda-ng.org/distr/x32/Plugins/%%i.zip -O %%i.zip
- cd %PLUGDIR%
- ..\unzip -o ..\%%i.zip
- cd ..
- del /F /Q %%i.zip)
- echo [*] Installing optional plugins...
- for /F %%i in (plugins.lst) do (
- echo ...%%i into %MIRDIR%Plugins\...
- copy /Y %PLUGDIR%\Plugins\%%i %MIRDIR%\Plugins\%%i)
- echo.
- echo [*] Installing russian langpack...
- copy ..\langpacks\ru\Langpack_russian.txt %MIRDIR%\
- echo.
- echo [*] Running Miranda NG...
- cd %MIRDIR%
- start Miranda32.exe
- echo.
- echo [*] Done!
- pause
Advertisement
Add Comment
Please, Sign In to add comment