spt/____Update-And-Launch-SPT.bat
2026-04-14 04:42:13 -07:00

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