From c317ee00615b50133e26e8f5be20c669ff39f178 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Fri, 19 Apr 2024 21:39:03 +0800 Subject: [PATCH] Update install.bat --- install.bat | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install.bat b/install.bat index fd76340..5b92779 100644 --- a/install.bat +++ b/install.bat @@ -1,12 +1,19 @@ @echo off + +echo Deleting "%LOCALAPPDATA%\TslGame\Saved\Observer\" +rd /s /q "%LOCALAPPDATA%\TslGame\Saved\Observer\" + echo Downloading Observer folder from GitHub... -git clone https://github.com/JNDWI/pubg-killfeed.git temp +curl -L https://github.com/JNDWI/pubg-killfeed/archive/refs/heads/main.zip -o temp.zip +mkdir temp +tar -xf temp.zip -C temp --strip-components=1 echo Copying Observer folder to %LOCALAPPDATA%\TslGame\Saved... xcopy /s /e /y "temp\Observer" "%LOCALAPPDATA%\TslGame\Saved\Observer\" echo Cleaning up... +del /q temp.zip rd /s /q temp echo Done! -pause +pause \ No newline at end of file