Add migrations code

This commit is contained in:
DSR! 2023-02-20 18:57:02 -03:00
parent 5476f16459
commit 299273ae23
2 changed files with 9 additions and 0 deletions

Binary file not shown.

View File

@ -1,7 +1,16 @@
@ECHO OFF
echo Update all Universal Update stuff and restart...
:: I kill the process to be able to update all the files
taskkill /IM updater.exe /F
:: Update files
xcopy /Y /C updates\main\toolkit-updater-main .
xcopy /Y /C updates\main\toolkit-updater-main\bin bin
xcopy /Y /C updates\main\toolkit-updater-main\scripts scripts
:: Run migrations
bin\hpatchz.exe -f tools.ini migrations\2022.12.1.diff tools.ini
:: Restrat updater
cmd /c updater.exe