2021-09-23 17:58:39 +00:00
|
|
|
PUSHD %~dp0..\..
|
|
|
|
setlocal EnableDelayedExpansion
|
2019-07-11 10:24:10 +00:00
|
|
|
|
2019-07-11 13:02:33 +00:00
|
|
|
if %errorlevel% == 0 (
|
2021-09-23 17:58:39 +00:00
|
|
|
for /R "build\run\" %%f in (*.bat) do (
|
|
|
|
call build\run\%%~nxf service
|
|
|
|
echo !servicepath!
|
|
|
|
call sc create "Onlyoffice %%~nf" binPath="!servicepath!"
|
2019-07-11 13:02:33 +00:00
|
|
|
)
|
2021-09-23 17:58:39 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
pause
|