Esempio n. 1
0
 public void MainProcess()
 {
     var process = new Process();
     process.DeleteMod(Parameters.Path);
     if (Parameters.Integrate)
     {
         if (Parameters.ContinentPath == String.Empty)
             process.parsingContinents("extra\\continent.txt");
         else
             process.parsingContinents(Parameters.ContinentPath);
         process.Copy("mod_files\\" + Parameters.Version, Parameters.Path);
     }
 }
Esempio n. 2
0
 private void MainProcess()
 {
     var process = new Process();
     Parameters.ProgressMessage = "Deleting previous files and code if exist...";
     process.DeleteMod(Parameters.Path);
     if (Parameters.Integrate)
     {
         Parameters.ProgressMessage = "Parsing continents...";
         if (Parameters.ContinentPath == String.Empty)
             process.parsingContinents("extra\\continent.txt");
         else
             process.parsingContinents(Parameters.ContinentPath);
         Parameters.ProgressMessage = "Copying new files and code...";
         process.Copy("mod_files\\" + Parameters.Version, Parameters.Path);
     }
     Parameters.ProgressMessage = "Everything completed";
 }