/// <summary> /// Runs the bc. /// </summary> public static void RunBC() { ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = Path.Combine(ConfigLoader.GetAppPath(), _bcExeFileName); startInfo.Arguments = _testModeArgs; Process.Start(startInfo); }
/// <summary> /// Rewrites the master server. /// </summary> /// <param name="server">The server.</param> public static void RewriteMasterServer(ServerObject server) { File.WriteAllText(Path.Combine(ConfigLoader.GetAppPath(), _masterServerFileName), server.OriginalServerUrl); }
/// <summary> /// Defines the entry point of the application. /// </summary> /// <param name="args">The arguments.</param> private static void Main(string[] args) { MainAsync(ConfigLoader.GetServerInfo()).Wait(); }