Definition at line 316 of file Program.cs.
317 {
320 {
321 return;
322 }
323 Logging.
tML.Info((
object)(
"Old tModLoader alpha folder \"" +
oldBetas +
"\" found, attempting folder migration"));
326 {
327 Logging.
tML.Warn((
object)
$"Both \"{oldBetas}\" and \"{newPath}\" exist, assuming user launched old tModLoader alpha, aborting migration");
328 return;
329 }
330 Logging.
tML.Info((
object)
$"Migrating from \"{oldBetas}\" to \"{newPath}\"");
332 Logging.
tML.Info((
object)
"Old alpha folder to new location migration success");
333 string[] array = new string[3] { "Mod Reader", "Mod Sources", "Mod Configs" };
334 foreach (
string subDir in array)
335 {
338 {
340 Logging.
tML.Info((
object)
$"Renaming from \"{newSaveOriginalSubDirPath}\" to \"{newSaveNewSubDirPath}\"");
342 }
343 }
344 Logging.
tML.Info((
object)
"Folder Renames Success");
345 }
References Terraria.ModLoader.Logging.tML.
Referenced by Terraria.Program.PortFilesMaster().