/// <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); }