добавил full-sync

This commit is contained in:
2023-05-26 17:45:20 +03:00
parent 842155d887
commit af2d6bb049
2 changed files with 22 additions and 0 deletions

15
src/dist/bin/sync-full vendored Normal file
View File

@ -0,0 +1,15 @@
#!/bin/bash
$(dirname $0)/starter patch updates
if [ $? -ne 0 ] ; then
echo Error patch loading
exit 10
fi
$(dirname $0)/starter update -fullSync
if [ $? -ne 0 ] ; then
echo Error updating database
exit 11
fi

7
src/dist/bin/sync-full.bat vendored Normal file
View File

@ -0,0 +1,7 @@
@echo off
call "%~dp0\starter.bat" patch updates
if ERRORLEVEL == 1 goto :EOF
call "%~dp0\starter.bat" update -fullSync
@pause