Skip to content

Commit

Permalink
Update install.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Apr 19, 2024
1 parent bfeef9d commit c317ee0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions install.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c317ee0

Please sign in to comment.