Add shared ERP sync core and Optima adapter
This commit is contained in:
24
release-enova/daemon/install.cmd
Normal file
24
release-enova/daemon/install.cmd
Normal file
@@ -0,0 +1,24 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd /d "%~dp0"
|
||||
|
||||
if not exist "smartb2bsync-enova.exe" (
|
||||
echo Brak smartb2bsync-enova.exe. Najpierw uruchom publish-enova.ps1.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist "..\config" mkdir "..\config"
|
||||
if not exist "..\config\enova.json" (
|
||||
if not exist "..\config\enova.json.sample" (
|
||||
echo Brak ..\config\enova.json.sample.
|
||||
exit /b 1
|
||||
)
|
||||
copy /Y "..\config\enova.json.sample" "..\config\enova.json" >nul
|
||||
echo Utworzono lokalna konfiguracje ..\config\enova.json.
|
||||
)
|
||||
|
||||
smartb2bsync-enova.exe install
|
||||
if errorlevel 1 exit /b %errorlevel%
|
||||
|
||||
smartb2bsync-enova.exe start
|
||||
exit /b %errorlevel%
|
||||
Reference in New Issue
Block a user