17 lines
No EOL
323 B
Batchfile
17 lines
No EOL
323 B
Batchfile
@echo off
|
|
echo "Updating Modpack & Launching SPT..."
|
|
|
|
git reset --hard HEAD
|
|
|
|
echo "Cleaning up untracked files..."
|
|
git clean -fd
|
|
|
|
echo "Pulling latest changes..."
|
|
git pull origin main
|
|
|
|
echo "Launching SPT..."
|
|
start "" /d "%~dp0SPT" "%~dp0SPT\SPT.Launcher.exe"
|
|
|
|
echo "Closing in 5 seconds..."
|
|
timeout /t 5 /nobreak >nul
|
|
exit |