Add shared ERP sync core and Optima adapter

This commit is contained in:
2026-09-08 02:07:42 +00:00
parent a040a91d1f
commit 6c4e50f7a6
366 changed files with 4707 additions and 478 deletions

View File

@@ -0,0 +1,24 @@
@echo off
setlocal
cd /d "%~dp0"
if not exist "smartb2bsync-optima.exe" (
echo Brak smartb2bsync-optima.exe. Najpierw uruchom publish-optima.ps1.
exit /b 1
)
if not exist "..\config" mkdir "..\config"
if not exist "..\config\optima.json" (
if not exist "..\config\optima.json.sample" (
echo Brak ..\config\optima.json.sample.
exit /b 1
)
copy /Y "..\config\optima.json.sample" "..\config\optima.json" >nul
echo Utworzono lokalna konfiguracje ..\config\optima.json.
)
smartb2bsync-optima.exe install
if errorlevel 1 exit /b %errorlevel%
smartb2bsync-optima.exe start
exit /b %errorlevel%