increased version tick
moved commandline handling
This commit is contained in:
parent
9121ce729a
commit
dbc0ae7aac
1 changed files with 3 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ namespace TShockAPI
|
||||||
|
|
||||||
public static string saveDir = "./tshock/";
|
public static string saveDir = "./tshock/";
|
||||||
|
|
||||||
public static Version VersionNum = new Version(2, 1, 0, 1);
|
public static Version VersionNum = new Version(2, 1, 0, 2);
|
||||||
|
|
||||||
public static string VersionCodename = "Forgot to close the issue.";
|
public static string VersionCodename = "Forgot to close the issue.";
|
||||||
|
|
||||||
|
|
@ -173,6 +173,8 @@ namespace TShockAPI
|
||||||
Log.Info("Hooks initialized");
|
Log.Info("Hooks initialized");
|
||||||
Commands.InitCommands();
|
Commands.InitCommands();
|
||||||
Log.Info("Commands initialized");
|
Log.Info("Commands initialized");
|
||||||
|
|
||||||
|
HandleCommandLine(Environment.GetCommandLineArgs());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -680,7 +682,6 @@ namespace TShockAPI
|
||||||
Console.WriteLine("This token will only display ONCE. This only works ONCE. If you don't use it and the server goes down, delete auth.lck.");
|
Console.WriteLine("This token will only display ONCE. This only works ONCE. If you don't use it and the server goes down, delete auth.lck.");
|
||||||
FileTools.CreateFile(FileTools.SaveDir + "auth.lck");
|
FileTools.CreateFile(FileTools.SaveDir + "auth.lck");
|
||||||
}
|
}
|
||||||
HandleCommandLine(Environment.GetCommandLineArgs());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandleCommandLine(string[] parms)
|
void HandleCommandLine(string[] parms)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue