update and luanch v1
This commit is contained in:
parent
fbb5f9977f
commit
68a0befcf2
2 changed files with 14 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,6 +1,7 @@
|
||||||
*
|
*
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!.gitattributes
|
!.gitattributes
|
||||||
|
!____Update-And-Launch-SPT.bat
|
||||||
|
|
||||||
!SPT_Data/
|
!SPT_Data/
|
||||||
!SPT_Data/Server
|
!SPT_Data/Server
|
||||||
|
|
|
||||||
13
____Update-And-Launch-SPT.bat
Normal file
13
____Update-And-Launch-SPT.bat
Normal file
|
|
@ -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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue