Add auto updater code

This commit is contained in:
DSR! 2023-02-21 03:49:15 -03:00
parent 72e0b72782
commit 7bced984a8
8 changed files with 5 additions and 1 deletions

BIN
bin/updater/bin/diff.exe Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/updater/bin/patch.exe Normal file

Binary file not shown.

View File

@ -8,9 +8,13 @@ taskkill /IM updater.exe /F
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
xcopy /Y /C updates\main\toolkit-updater-main\migrations migrations
:: Configure installed tools
::..\auto-config-tools\auto-config-tools.exe /FOLDER=..\updater
:: Run migrations
bin\hpatchz.exe -f tools.ini migrations\2022.12.1.diff tools.ini
bin\patch.exe -f tools.ini migrations\2022.12.1.diff
:: Restart updater
cmd /c updater.exe