Skip to content

Commit

Permalink
fix: change desktop path
Browse files Browse the repository at this point in the history
- so it'd display logs archive even if you're using onedrive
  • Loading branch information
livingflore committed Aug 13, 2024
1 parent 42ffcff commit df1abfb
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions BattleBitLogsCollector.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,8 @@ if _%1_==_payload_ goto :payload
goto :eof
:payload
title BattleBit Logs Collector >nul
SET GamePath=
FOR /F "tokens=2* skip=2" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 671860" /v "InstallLocation"') do SET GamePath="%%b"
if not exist %GamePath% (
echo [X] Unable to detect BattleBit Remastered folder.
echo In order to properly address your issue, you need to install the game and launch it once.
echo After that, you can run this batch script again.
echo.
pause
goto :eof
)
SET Logs=%UserProfile%\Desktop\BattleBit Logs
:: i hate onedrive
SET Logs=C:\Users\Public\Desktop\BattleBit Logs
if not exist "%Logs%" ( if not exist "%Logs%.zip" goto :start )
echo [X] BattleBit Logs folder or BattleBit Logs.zip already exists on your desktop.
echo Please send it to BattleBit representative in order to get support.
Expand Down

0 comments on commit df1abfb

Please sign in to comment.