From 781e408910d31e07d1e4201c721ef775e5273974 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sun, 29 Sep 2024 11:59:17 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AF=BE=E8=B1=A1=E3=81=AE?= =?UTF-8?q?=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/update_online.cmd | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/script/update_online.cmd b/script/update_online.cmd index 66c9d6a..4b72f06 100644 --- a/script/update_online.cmd +++ b/script/update_online.cmd @@ -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 \ No newline at end of file