Definition at line 347 of file Program.cs.
348 {
350 {
351 return;
352 }
356 {
358 Logging.
tML.Info((
object)
"Cloning common files from Stable to preview and dev.");
359 if (File.Exists(Path.Combine(
releasePath,
"config.json")))
360 {
361 File.Copy(Path.Combine(
releasePath,
"config.json"), Path.Combine(
newPath,
"config.json"));
362 }
363 if (File.Exists(Path.Combine(
releasePath,
"input profiles.json")))
364 {
365 File.Copy(Path.Combine(
releasePath,
"input profiles.json"), Path.Combine(
newPath,
"input profiles.json"));
366 }
367 }
368 }
static string SaveFolderName
References Terraria.ModLoader.BuildInfo.IsStable, Terraria.Program.SaveFolderName, and Terraria.ModLoader.Logging.tML.
Referenced by Terraria.Program.PortFilesMaster().