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:
parent
8060612370
commit
b9f8a7eef1
@ -8,6 +8,7 @@
|
|||||||
"*.svn*",
|
"*.svn*",
|
||||||
"*.md",
|
"*.md",
|
||||||
".git/*",
|
".git/*",
|
||||||
".gitignore"
|
".gitignore",
|
||||||
|
"workshop_update.bat"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
16
workshop_update.bat
Normal file
16
workshop_update.bat
Normal 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
|
Loading…
Reference in New Issue
Block a user