Definition at line 481 of file Program.cs.
482 {
484 {
487 }
488 else if (File.Exists("savehere.txt"))
489 {
492 }
493 else
494 {
498 try
499 {
501 }
503 {
505 }
506 }
509 {
510 Logging.
tML.Info((
object)
"Controlled Folder Access detection failed, something is preventing the game from accessing the registry.");
511 }
513 {
514 Logging.
tML.Info((
object)(
"Controlled Folder Access feature detected. If game fails to launch make sure to add \"" +
Environment.ProcessPath +
"\" to the \"Allow an app through Controlled folder access\" menu found in the \"Ransomware protection\" menu."));
515 }
516 }
static bool ControlledFolderAccessDetectionPrevented
static bool ControlledFolderAccessDetected
static void FatalExit(string message)
This class handles displaying errors that require a OS-provided modal message box....
static void PortFilesMaster(string savePath, bool isCloud)
static string SaveFolderName
static string SavePathShared
static Dictionary< string, string > LaunchParameters
@ Environment
Will override vanilla SceneEffect for Sandstorm, Hell, Above surface during Eclipse,...
References Terraria.ModLoader.Engine.ControlledFolderAccessSupport.ControlledFolderAccessDetected, Terraria.ModLoader.Engine.ControlledFolderAccessSupport.ControlledFolderAccessDetectionPrevented, Terraria.ModLoader.Engine.ErrorReporting.FatalExit(), Terraria.Program.LaunchParameters, Terraria.Program.PortFilesMaster(), Terraria.Program.SaveFolderName, Terraria.Program.SavePath, Terraria.Program.SavePathShared, and Terraria.ModLoader.Logging.tML.
Referenced by Terraria.Program.StartupSequenceTml().