Files
CustomerPanel-Test/Setup/CopySourceFiles.cmd
2026-03-05 09:56:57 +01:00

35 lines
704 B
Batchfile

set Vers=Release
set Org=..\bin\%Vers%
set Src=.\Source
del /F /S /Q %Src%\*.*
rd /S /Q %Src%
md %Src%
copy /Y "%Org%\Customer Panel.exe" %Src%
copy /Y "%Org%\*.dll" %Src%
copy /Y "%Org%\Customer Panel.exe.config" %Src%
copy /Y "%Org%\C4IT.Matrix.MsGatewayAuthentication.dll.config" %Src%
copy /Y "%Org%\Microsoft.WindowsAPICodePack.dll" %Src%
copy /Y "%Org%\Microsoft.WindowsAPICodePack.Shell.dll" %Src%
for %%i in (de) do (
md %Src%\%%i
copy /Y %Org%\%%i\*.* %Src%\%%i
)
:: WebView2
if exist "%Org%\runtimes" (
xcopy /E /I "%Org%\runtimes" "%Src%\runtimes"
)
for %%f in ("%Org%\Microsoft.Web.WebView2*.dll") do (
copy /Y "%%f" %Src%
)
pause