Dislocker/script/update_online.cmd

24 lines
873 B
Batchfile
Raw Normal View History

@echo off
set dir=%~dp0
cd %dir%
set download_url=""
taskkill /f /t /im dislocker_client_shutdown.exe
taskkill /f /t /im dislocker_client.exe
curl -L %download_url% -o %dir%\dislocker_client.zip
2024-09-29 11:59:17 +09:00
mkdir %dir%\temp_ds\
tar -xf %dir%\dislocker_client.zip -C %dir%\temp_ds\
2024-09-29 11:59:17 +09:00
rmdir /s /q C:\ProgramData\Dislocker\_internal\
xcopy /e %dir%\temp_ds\_internal\ C:\ProgramData\Dislocker\_internal\
xcopy /Y %dir%\temp_ds\dislocker_client.exe C:\ProgramData\Dislocker\dislocker_client.exe
2024-09-29 11:59:17 +09:00
xcopy /Y %dir%\temp_ds\dislocker_client_shutdown.exe C:\ProgramData\Dislocker\dislocker_client_shutdown.exe
xcopy /Y %dir%\temp_ds\shortcut.vbs C:\ProgramData\Dislocker\shortcut.vbs
xcopy /Y %dir%\temp_ds\setup.cmd C:\ProgramData\Dislocker\setup.cmd
rmdir /s /q %dir%\temp_ds\
del %dir%\dislocker_client.zip
echo <20>A<EFBFBD>b<EFBFBD>v<EFBFBD>f<EFBFBD>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>BDefender<65>̌x<CC8C><78><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߁A<DF81><41><EFBFBD>x<EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
pause