mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-13 19:02:05 +01:00
(only available when the left list is sorted by "New Pr#") - Simplified menu/tool bar - FIX: Moving multiple channels down now works correctly - FIX: +/- keys no longer open the cell-editor after moving a channel - Editor for "New Pr#" no longer opens when pressing non-numeric keys - Move up/down is now disabled when left list is not sorted by "New Pr#"
40 lines
1.5 KiB
Batchfile
40 lines
1.5 KiB
Batchfile
@echo off
|
|
c:\cygwin\bin\date "+%%Y-%%m-%%d">%TEMP%\date.txt
|
|
set /p curdate=<%temp%\date.txt
|
|
set target=%cd%\..\ChanSort_%curdate%
|
|
set DXversion=12.2
|
|
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
|
|
xcopy /siy debug\de "%target%\de"
|
|
copy readme.txt "%target%"
|
|
for %%f in (Utils Data XtraEditors XtraBars XtraGrid XtraLayout) 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%
|
|
rem c:\cygwin\bin\gzip --name -r -9 ChanSort_%curdate%.zip ChanSort%curdate%
|
|
|
|
|
|
pause
|
|
goto:eof
|
|
|
|
:copyDll
|
|
echo Copying DevExpress %*
|
|
set source="C:\Program Files (x86)\DevExpress\DXperience %DXversion%\Bin\Framework\DevExpress.%*.v%DXversion%.dll"
|
|
if exist %source% copy %source% "%target%"
|
|
set source="C:\Program Files (x86)\DevExpress\DXperience %DXversion%\Bin\Framework\DevExpress.%*.v%DXversion%.Core.dll"
|
|
if exist %source% copy %source% "%target%"
|
|
set source="C:\Program Files (x86)\DevExpress\DXperience %DXversion%\Bin\Framework\de\DevExpress.%*.v%DXversion%.resources.dll"
|
|
if exist %source% copy %source% "%target%\de"
|
|
set source="C:\Program Files (x86)\DevExpress\DXperience %DXversion%\Bin\Framework\de\DevExpress.%*.v%DXversion%.Core.resources.dll"
|
|
if exist %source% copy %source% "%target%\de"
|
|
goto:eof |