diff --git a/.gitignore b/.gitignore index abcd4a8..b4794bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ * !.gitignore !.gitattributes +!____Update-And-Launch-SPT.bat !SPT_Data/ !SPT_Data/Server diff --git a/____Update-And-Launch-SPT.bat b/____Update-And-Launch-SPT.bat new file mode 100644 index 0000000..3e45f38 --- /dev/null +++ b/____Update-And-Launch-SPT.bat @@ -0,0 +1,13 @@ +@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 "Laucnhing SPT..." +start "" "SPT.Launcher.exe"