Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <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();
 }