更新対象のファイルを更新
This commit is contained in:
parent
98e45292ab
commit
781e408910
1 changed files with 8 additions and 5 deletions
|
@ -6,13 +6,16 @@ set download_url=""
|
|||
|
||||
curl -L %download_url% -o %dir%\dislocker_client.zip
|
||||
|
||||
mkdir %dir%\temp_ds
|
||||
tar -xf %dir%\dislocker_client.zip -C %dir%\temp_ds
|
||||
mkdir %dir%\temp_ds\
|
||||
tar -xf %dir%\dislocker_client.zip -C %dir%\temp_ds\
|
||||
|
||||
rmdir /s /q C:\ProgramData\Dislocker\_internal
|
||||
xcopy /e %dir%\temp_ds\_internal C:\ProgramData\Dislocker\_internal
|
||||
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
|
||||
rmdir /s /q %dir%\temp_ds
|
||||
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 アップデート完了。Defenderの警告を消すため、一度起動しておいてください。
|
||||
pause
|
Loading…
Reference in a new issue