mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-13 10:52:05 +01:00
- fixed a few missing German translations - added russian translation from resources.dll back to .resx - extracted all localized strings to a .xlsx spreadsheet to allow easier translation
47 lines
1.7 KiB
Batchfile
47 lines
1.7 KiB
Batchfile
@echo off
|
|
set curdate=%date:~6,4%-%date:~3,2%-%date:~0,2%
|
|
set target=%cd%\..\..\ChanSort_%curdate%
|
|
set DXversion=15.1
|
|
mkdir "%target%" 2>nul
|
|
del /s /q "%target%\*"
|
|
copy debug\ChanSort.exe* "%target%"
|
|
copy debug\ChanSort.*.dll "%target%"
|
|
copy debug\ChanSort.*.ini "%target%"
|
|
copy debug\Lookup.csv "%target%"
|
|
copy DLL\* "%target%"
|
|
del "%target%\*nunit*.dll"
|
|
mkdir "%target%\de" 2>nul
|
|
mkdir "%target%\pt" 2>nul
|
|
mkdir "%target%\ru" 2>nul
|
|
xcopy /siy debug\de "%target%\de"
|
|
xcopy /siy debug\pt "%target%\pt"
|
|
xcopy /siy debug\ru "%target%\ru"
|
|
copy ..\readme.md "%target%\readme.txt"
|
|
copy changelog.md "%target%\changelog.txt"
|
|
for %%f in (Utils Data Printing XtraPrinting XtraReports XtraEditors XtraBars XtraGrid XtraLayout XtraTreeList) do call :copyDll %%f
|
|
|
|
cd ..
|
|
del Website\ChanSort.zip 2>nul
|
|
copy Source\readme.txt %target%
|
|
cd %target%\..
|
|
"c:\program files\7-Zip\7z.exe" a -tzip ChanSort_%curdate%.zip ChanSort_%curdate%
|
|
|
|
|
|
pause
|
|
goto:eof
|
|
|
|
:copyDll
|
|
echo Copying DevExpress %1
|
|
set source="C:\Program Files (x86)\DevExpress %DXversion%\Components\Bin\Framework\DevExpress.%1.v%DXversion%.dll"
|
|
if exist %source% copy %source% "%target%"
|
|
set source="C:\Program Files (x86)\DevExpress %DXversion%\Components\Bin\Framework\DevExpress.%1.v%DXversion%.Core.dll"
|
|
if exist %source% copy %source% "%target%"
|
|
for %%l in (de pt) do call :copyLangDll %1 %%l
|
|
goto:eof
|
|
|
|
:copyLangDll
|
|
set source="C:\Program Files (x86)\DevExpress %DXversion%\Components\Bin\Framework\%2\DevExpress.%1.v%DXversion%.resources.dll"
|
|
if exist %source% copy %source% "%target%\%2"
|
|
set source="C:\Program Files (x86)\DevExpress %DXversion%\Components\Bin\Framework\%2\DevExpress.%1.v%DXversion%.Core.resources.dll"
|
|
if exist %source% copy %source% "%target%\%2"
|
|
goto:eof |