Add debug-upgrade CL command

This commit is contained in:
Cyberboss
2017-07-05 14:22:58 -04:00
parent c042f695c0
commit 9a8f59ab50
+5
View File
@@ -69,6 +69,11 @@ namespace TGCommandLine
case "quit":
case "exit":
return (int)ExitCode.Normal;
#if DEBUG
case "debug-upgrade":
Server.GetComponent<ITGSService>().PrepareForUpdate();
return (int)ExitCode.Normal;
#endif
default:
//linq voodoo to get quoted strings
var formattedCommand = NextCommand.Split('"')