Add auto updater code

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

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5 -1
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