1
0
mirror of https://github.com/Earu/EasyChat.git synced 2025-03-04 03:13:20 -05:00

Add batch file for committing more easily to workshop

This commit is contained in:
Earu 2019-12-26 18:53:23 +01:00
parent 8060612370
commit b9f8a7eef1
2 changed files with 18 additions and 1 deletions

View File

@ -8,6 +8,7 @@
"*.svn*",
"*.md",
".git/*",
".gitignore"
".gitignore",
"workshop_update.bat"
]
}

16
workshop_update.bat Normal file
View File

@ -0,0 +1,16 @@
@echo off
title Update Workshop Addon
set location=./
set id=1182471500
set /p changes="Changes: "
if exist "%location%" (
gmad.exe create -folder "%location%" -out "%location%.gma"
if exist "%location%.gma" (
gmpublish.exe update -addon "%location%.gma" -id "%id%" -changes "%changes%"
) else (
echo Could not create gma archive, aborting
)
) else (
echo Could not find the specified path
)
pause