mirror of
https://github.com/indetectables-net/toolkit.git
synced 2025-05-05 18:27:38 +00:00
27 lines
697 B
Batchfile
27 lines
697 B
Batchfile
@ECHO OFF
|
|
echo Update all Universal Update stuff and restart...
|
|
|
|
:: Kill updater process to be able to update all the files
|
|
taskkill /IM updater.exe /F
|
|
|
|
:: Backup user tools.ini
|
|
move tools.ini tools.ini.old
|
|
|
|
:: 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
|
|
|
|
:: Configure installed tools
|
|
bin\auto-config-ini.exe /FOLDER=..\updater /TYPE=clean
|
|
|
|
:: Set updater default config
|
|
bin\auto-config-ini.exe /FOLDER=..\updater /TYPE=toolkit
|
|
|
|
:: Sync tools versions
|
|
bin\auto-config-ini.exe /FOLDER=..\updater /TYPE=sync
|
|
del tools.ini.old
|
|
|
|
:: Restart updater
|
|
cmd /c updater.exe
|