From d6e046178ee83e0bf7c539c479c3ac8ffb6cbb84 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sun, 29 Sep 2024 00:52:52 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=82=BF=E3=83=BC=E3=83=8D?= =?UTF-8?q?=E3=83=83=E3=83=88=E7=B5=8C=E7=94=B1=E3=81=A7=E3=82=A2=E3=83=83?= =?UTF-8?q?=E3=83=97=E3=83=87=E3=83=BC=E3=83=88=E3=81=99=E3=82=8B=E3=81=9F?= =?UTF-8?q?=E3=82=81=E3=81=AE=E3=82=B9=E3=82=AF=E3=83=AA=E3=83=97=E3=83=88?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/update_online.cmd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 script/update_online.cmd diff --git a/script/update_online.cmd b/script/update_online.cmd new file mode 100644 index 0000000..0cee3d8 --- /dev/null +++ b/script/update_online.cmd @@ -0,0 +1,18 @@ +@echo off +set dir=%~dp0 +cd %dir% + +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 + +rmdir /s /q C:\ProgramData\Dislocker\_internal +xcopy /e %dir%\temp_ds C:\ProgramData\Dislocker +xcopy /Y %dir%\temp_ds\dislocker_client.exe C:\ProgramData\Dislocker\dislocker_client.exe +rmdir /s /q %dir%\temp_ds +del %dir%\dislocker_client.zip +echo アップデート完了。Defenderの警告を消すため、一度起動しておいてください。 +pause \ No newline at end of file